home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / vm / vm-vars.elc.z / vm-vars.elc
Emacs Compiled Lisp  |  1998-05-21  |  126.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 34 35 3a 34 34 20 31 | 39 39 38 0a 3b 3b 3b 20 |:45:44 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 76 6d 2f 76 |s-20.3/l|isp/vm/v|
|000000a0| 6d 2d 76 61 72 73 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |m-vars.e|l.;;; em|
|000000b0| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 32 30 2e 34 |acs vers|ion 20.4|
|000000c0| 20 22 45 6d 65 72 61 6c | 64 22 20 58 45 6d 61 63 | "Emeral|d" XEmac|
|000000d0| 73 20 20 4c 75 63 69 64 | 2e 0a 3b 3b 3b 20 62 79 |s Lucid|..;;; by|
|000000e0| 74 65 63 6f 6d 70 20 76 | 65 72 73 69 6f 6e 20 32 |tecomp v|ersion 2|
|000000f0| 2e 32 35 20 58 45 6d 61 | 63 73 3b 20 32 32 2d 4d |.25 XEma|cs; 22-M|
|00000100| 61 72 2d 39 36 2e 0a 3b | 3b 3b 20 6f 70 74 69 6d |ar-96..;|;; optim|
|00000110| 69 7a 61 74 69 6f 6e 20 | 69 73 20 6f 6e 2e 0a 3b |ization |is on..;|
|00000120| 3b 3b 20 74 68 69 73 20 | 66 69 6c 65 20 75 73 65 |;; this |file use|
|00000130| 73 20 6f 70 63 6f 64 65 | 73 20 77 68 69 63 68 20 |s opcode|s which |
|00000140| 64 6f 20 6e 6f 74 20 65 | 78 69 73 74 20 69 6e 20 |do not e|xist in |
|00000150| 45 6d 61 63 73 20 31 39 | 2e 0a 0a 28 69 66 20 28 |Emacs 19|...(if (|
|00000160| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 6d 61 |and (bou|ndp 'ema|
|00000170| 63 73 2d 76 65 72 73 69 | 6f 6e 29 0a 09 20 28 6f |cs-versi|on).. (o|
|00000180| 72 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |r (and (|boundp '|
|00000190| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 20 |epoch::v|ersion) |
|000001a0| 65 70 6f 63 68 3a 3a 76 | 65 72 73 69 6f 6e 29 0a |epoch::v|ersion).|
|000001b0| 09 20 20 20 20 20 28 73 | 74 72 69 6e 67 2d 6c 65 |. (s|tring-le|
|000001c0| 73 73 70 20 65 6d 61 63 | 73 2d 76 65 72 73 69 6f |ssp emac|s-versio|
|000001d0| 6e 20 22 32 30 22 29 29 | 29 0a 20 20 20 20 28 65 |n "20"))|). (e|
|000001e0| 72 72 6f 72 20 22 60 76 | 6d 2d 76 61 72 73 2e 65 |rror "`v|m-vars.e|
|000001f0| 6c 27 20 77 61 73 20 63 | 6f 6d 70 69 6c 65 64 20 |l' was c|ompiled |
|00000200| 66 6f 72 20 45 6d 61 63 | 73 20 32 30 22 29 29 0a |for Emac|s 20")).|
|00000210| 0a 28 6f 72 20 28 62 6f | 75 6e 64 70 20 27 63 75 |.(or (bo|undp 'cu|
|00000220| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 29 |rrent-lo|ad-list)|
|00000230| 20 28 73 65 74 71 20 63 | 75 72 72 65 6e 74 2d 6c | (setq c|urrent-l|
|00000240| 6f 61 64 2d 6c 69 73 74 | 20 6e 69 6c 29 29 0a 0a |oad-list| nil))..|
|00000250| 0a 28 70 72 6f 76 69 64 | 65 20 27 76 6d 2d 76 61 |.(provid|e 'vm-va|
|00000260| 72 73 29 0a 28 64 65 66 | 76 61 72 20 76 6d 2d 69 |rs).(def|var vm-i|
|00000270| 6e 69 74 2d 66 69 6c 65 | 20 22 7e 2f 2e 76 6d 22 |nit-file| "~/.vm"|
|00000280| 20 22 5c 0a 2a 53 74 61 | 72 74 75 70 20 66 69 6c | "\.*Sta|rtup fil|
|00000290| 65 20 66 6f 72 20 56 4d | 20 74 68 61 74 20 69 73 |e for VM| that is|
|000002a0| 20 6c 6f 61 64 65 64 20 | 74 68 65 20 66 69 72 73 | loaded |the firs|
|000002b0| 74 20 74 69 6d 65 20 79 | 6f 75 20 72 75 6e 20 56 |t time y|ou run V|
|000002c0| 4d 0a 69 6e 20 61 6e 20 | 45 6d 61 63 73 20 73 65 |M.in an |Emacs se|
|000002d0| 73 73 69 6f 6e 2e 22 29 | 0a 28 64 65 66 76 61 72 |ssion.")|.(defvar|
|000002e0| 20 76 6d 2d 70 72 65 66 | 65 72 65 6e 63 65 73 2d | vm-pref|erences-|
|000002f0| 66 69 6c 65 20 22 7e 2f | 2e 76 6d 2e 70 72 65 66 |file "~/|.vm.pref|
|00000300| 65 72 65 6e 63 65 73 22 | 20 22 5c 0a 2a 53 65 63 |erences"| "\.*Sec|
|00000310| 6f 6e 64 61 72 79 20 73 | 74 61 72 74 75 70 20 66 |ondary s|tartup f|
|00000320| 69 6c 65 20 66 6f 72 20 | 56 4d 2c 20 6c 6f 61 64 |ile for |VM, load|
|00000330| 65 64 20 61 66 74 65 72 | 20 76 6d 2d 69 6e 69 74 |ed after| vm-init|
|00000340| 2d 66 69 6c 65 2e 0a 54 | 68 69 73 20 66 69 6c 65 |-file..T|his file|
|00000350| 20 69 73 20 77 72 69 74 | 74 65 6e 20 61 6e 64 20 | is writ|ten and |
|00000360| 6f 76 65 72 77 72 69 74 | 74 65 6e 20 62 79 20 56 |overwrit|ten by V|
|00000370| 4d 20 61 6e 64 20 69 73 | 20 6e 6f 74 20 6d 65 61 |M and is| not mea|
|00000380| 6e 74 20 66 6f 72 0a 75 | 73 65 72 73 20 74 6f 20 |nt for.u|sers to |
|00000390| 65 64 69 74 20 64 69 72 | 65 63 74 6c 79 2e 22 29 |edit dir|ectly.")|
|000003a0| 0a 28 64 65 66 76 61 72 | 20 76 6d 2d 70 72 69 6d |.(defvar| vm-prim|
|000003b0| 61 72 79 2d 69 6e 62 6f | 78 20 22 7e 2f 49 4e 42 |ary-inbo|x "~/INB|
|000003c0| 4f 58 22 20 22 5c 0a 2a | 4d 61 69 6c 20 69 73 20 |OX" "\.*|Mail is |
|000003d0| 6d 6f 76 65 64 20 66 72 | 6f 6d 20 74 68 65 20 73 |moved fr|om the s|
|000003e0| 79 73 74 65 6d 20 6d 61 | 69 6c 62 6f 78 20 74 6f |ystem ma|ilbox to|
|000003f0| 20 74 68 69 73 20 66 69 | 6c 65 20 66 6f 72 20 72 | this fi|le for r|
|00000400| 65 61 64 69 6e 67 2e 22 | 29 0a 28 64 65 66 76 61 |eading."|).(defva|
|00000410| 72 20 76 6d 2d 63 72 61 | 73 68 2d 62 6f 78 20 22 |r vm-cra|sh-box "|
|00000420| 7e 2f 49 4e 42 4f 58 2e | 43 52 41 53 48 22 20 22 |~/INBOX.|CRASH" "|
|00000430| 5c 0a 2a 46 69 6c 65 20 | 69 6e 20 77 68 69 63 68 |\.*File |in which|
|00000440| 20 74 6f 20 73 74 6f 72 | 65 20 6d 61 69 6c 20 74 | to stor|e mail t|
|00000450| 65 6d 70 6f 72 61 72 69 | 6c 79 20 77 68 69 6c 65 |emporari|ly while|
|00000460| 20 69 74 20 69 73 20 74 | 72 61 6e 73 66 65 72 72 | it is t|ransferr|
|00000470| 65 64 20 66 72 6f 6d 0a | 74 68 65 20 73 79 73 74 |ed from.|the syst|
|00000480| 65 6d 20 6d 61 69 6c 62 | 6f 78 20 74 6f 20 74 68 |em mailb|ox to th|
|00000490| 65 20 70 72 69 6d 61 72 | 79 20 69 6e 62 6f 78 2e |e primar|y inbox.|
|000004a0| 20 20 49 66 20 61 20 63 | 72 61 73 68 20 6f 63 63 | If a c|rash occ|
|000004b0| 75 72 73 0a 64 75 72 69 | 6e 67 20 74 68 69 73 20 |urs.duri|ng this |
|000004c0| 6d 61 69 6c 20 74 72 61 | 6e 73 66 65 72 2c 20 61 |mail tra|nsfer, a|
|000004d0| 6e 79 20 6d 69 73 73 69 | 6e 67 20 6d 61 69 6c 20 |ny missi|ng mail |
|000004e0| 77 69 6c 6c 20 62 65 20 | 66 6f 75 6e 64 20 69 6e |will be |found in|
|000004f0| 20 74 68 69 73 0a 66 69 | 6c 65 2e 20 20 56 4d 20 | this.fi|le. VM |
|00000500| 77 69 6c 6c 20 64 6f 20 | 63 72 61 73 68 20 72 65 |will do |crash re|
|00000510| 63 6f 76 65 72 79 20 66 | 72 6f 6d 20 74 68 69 73 |covery f|rom this|
|00000520| 20 66 69 6c 65 20 61 75 | 74 6f 6d 61 74 69 63 61 | file au|tomatica|
|00000530| 6c 6c 79 20 61 74 0a 73 | 74 61 72 74 75 70 2c 20 |lly at.s|tartup, |
|00000540| 61 73 20 6e 65 63 65 73 | 73 61 72 79 2e 22 29 0a |as neces|sary.").|
|00000550| 28 64 65 66 76 61 72 20 | 76 6d 2d 6b 65 65 70 2d |(defvar |vm-keep-|
|00000560| 63 72 61 73 68 2d 62 6f | 78 65 73 20 6e 69 6c 20 |crash-bo|xes nil |
|00000570| 22 5c 0a 2a 4e 6f 6e 2d | 6e 69 6c 20 76 61 6c 75 |"\.*Non-|nil valu|
|00000580| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 73 74 |e should| be a st|
|00000590| 72 69 6e 67 20 73 70 65 | 63 69 66 79 69 6e 67 20 |ring spe|cifying |
|000005a0| 61 20 64 69 72 65 63 74 | 6f 72 79 20 77 68 65 72 |a direct|ory wher|
|000005b0| 65 0a 79 6f 75 72 20 63 | 72 61 73 68 20 62 6f 78 |e.your c|rash box|
|000005c0| 65 73 20 73 68 6f 75 6c | 64 20 62 65 20 6d 6f 76 |es shoul|d be mov|
|000005d0| 65 64 20 61 66 74 65 72 | 20 56 4d 20 68 61 73 20 |ed after| VM has |
|000005e0| 63 6f 70 69 65 64 20 6e | 65 77 20 6d 61 69 6c 0a |copied n|ew mail.|
|000005f0| 6f 75 74 20 6f 66 20 74 | 68 65 6d 2e 20 20 54 68 |out of t|hem. Th|
|00000600| 69 73 20 69 73 20 61 20 | 73 61 66 65 74 79 20 6d |is is a |safety m|
|00000610| 65 61 73 75 72 65 2e 20 | 20 49 6e 20 61 74 20 6c |easure. | In at l|
|00000620| 65 61 73 74 20 6f 6e 65 | 20 63 61 73 65 20 61 0a |east one| case a.|
|00000630| 70 6f 69 6e 74 65 72 20 | 63 6f 72 72 75 70 74 69 |pointer |corrupti|
|00000640| 6f 6e 20 62 75 67 20 69 | 6e 73 69 64 65 20 45 6d |on bug i|nside Em|
|00000650| 61 63 73 20 68 61 73 20 | 63 61 75 73 65 64 20 56 |acs has |caused V|
|00000660| 4d 20 74 6f 20 62 65 6c | 69 65 76 65 20 74 68 61 |M to bel|ieve tha|
|00000670| 74 0a 69 74 20 68 61 64 | 20 63 6f 70 69 65 64 20 |t.it had| copied |
|00000680| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 75 74 20 |informat|ion out |
|00000690| 6f 66 20 74 68 65 20 63 | 72 61 73 68 20 62 6f 78 |of the c|rash box|
|000006a0| 20 77 68 65 6e 20 69 74 | 20 69 6e 20 66 61 63 74 | when it| in fact|
|000006b0| 0a 68 61 64 20 6e 6f 74 | 2e 20 20 56 4d 20 74 68 |.had not|. VM th|
|000006c0| 65 6e 20 64 65 6c 65 74 | 65 64 20 74 68 65 20 63 |en delet|ed the c|
|000006d0| 72 61 73 68 20 62 6f 78 | 2c 20 6c 6f 73 69 6e 67 |rash box|, losing|
|000006e0| 20 74 68 65 20 62 61 74 | 63 68 20 6f 66 0a 69 6e | the bat|ch of.in|
|000006f0| 63 6f 6d 69 6e 67 20 6d | 61 69 6c 2e 20 20 54 68 |coming m|ail. Th|
|00000700| 69 73 20 69 73 20 61 6e | 20 65 78 63 65 65 64 69 |is is an| exceedi|
|00000710| 6e 67 6c 79 20 72 61 72 | 65 20 70 72 6f 62 6c 65 |ngly rar|e proble|
|00000720| 6d 2c 20 62 75 74 20 69 | 66 20 79 6f 75 0a 77 61 |m, but i|f you.wa|
|00000730| 6e 74 20 74 6f 20 61 76 | 6f 69 64 20 6c 6f 73 69 |nt to av|oid losi|
|00000740| 6e 67 20 6d 61 69 6c 20 | 69 66 20 69 74 20 68 61 |ng mail |if it ha|
|00000750| 70 70 65 6e 73 2c 20 73 | 65 74 20 76 6d 2d 6b 65 |ppens, s|et vm-ke|
|00000760| 65 70 2d 63 72 61 73 68 | 2d 62 6f 78 65 73 0a 74 |ep-crash|-boxes.t|
|00000770| 6f 20 70 6f 69 6e 74 20 | 74 6f 20 61 20 64 69 72 |o point |to a dir|
|00000780| 65 63 74 6f 72 79 20 69 | 6e 20 74 68 65 20 73 61 |ectory i|n the sa|
|00000790| 6d 65 20 66 69 6c 65 73 | 79 73 74 65 6d 20 61 73 |me files|ystem as|
|000007a0| 20 61 6c 6c 20 79 6f 75 | 72 0a 63 72 61 73 68 20 | all you|r.crash |
|000007b0| 62 6f 78 65 73 2e 20 20 | 45 61 63 68 20 73 61 76 |boxes. |Each sav|
|000007c0| 65 64 20 63 72 61 73 68 | 20 62 6f 78 20 77 69 6c |ed crash| box wil|
|000007d0| 6c 20 68 61 76 65 20 61 | 20 75 6e 69 71 75 65 20 |l have a| unique |
|000007e0| 6e 61 6d 65 20 62 61 73 | 65 64 0a 6f 6e 20 74 68 |name bas|ed.on th|
|000007f0| 65 20 63 75 72 72 65 6e | 74 20 64 61 74 65 20 61 |e curren|t date a|
|00000800| 6e 64 20 74 69 6d 65 20 | 74 68 65 20 62 6f 78 20 |nd time |the box |
|00000810| 77 61 73 20 73 61 76 65 | 64 2e 20 20 59 6f 75 20 |was save|d. You |
|00000820| 77 69 6c 6c 20 6e 65 65 | 64 20 74 6f 0a 63 6c 65 |will nee|d to.cle|
|00000830| 61 6e 20 6f 75 74 20 74 | 68 69 73 20 64 69 72 65 |an out t|his dire|
|00000840| 63 74 6f 72 79 20 66 72 | 6f 6d 20 74 69 6d 65 20 |ctory fr|om time |
|00000850| 74 6f 20 74 69 6d 65 3b | 20 56 4d 20 64 6f 65 73 |to time;| VM does|
|00000860| 20 6e 6f 74 20 64 6f 20 | 73 6f 2e 0a 0a 41 20 6e | not do |so...A n|
|00000870| 69 6c 20 76 61 6c 75 65 | 20 6d 65 61 6e 73 20 56 |il value| means V|
|00000880| 4d 20 73 68 6f 75 6c 64 | 20 6a 75 73 74 20 64 65 |M should| just de|
|00000890| 6c 65 74 65 20 63 72 61 | 73 68 20 62 6f 78 65 73 |lete cra|sh boxes|
|000008a0| 20 61 66 74 65 72 20 69 | 74 0a 68 61 73 20 63 6f | after i|t.has co|
|000008b0| 70 69 65 64 20 6f 75 74 | 20 74 68 65 20 6d 61 69 |pied out| the mai|
|000008c0| 6c 2e 22 29 0a 28 64 65 | 66 76 61 72 20 76 6d 2d |l.").(de|fvar vm-|
|000008d0| 69 6e 64 65 78 2d 66 69 | 6c 65 2d 73 75 66 66 69 |index-fi|le-suffi|
|000008e0| 78 20 6e 69 6c 20 22 5c | 0a 2a 53 75 66 66 69 78 |x nil "\|.*Suffix|
|000008f0| 20 75 73 65 64 20 74 6f | 20 63 6f 6e 73 74 72 75 | used to| constru|
|00000900| 63 74 20 56 4d 20 69 6e | 64 65 78 20 66 69 6c 65 |ct VM in|dex file|
|00000910| 20 6e 61 6d 65 73 2e 0a | 57 68 65 6e 20 56 4d 20 | names..|When VM |
|00000920| 76 69 73 69 74 73 20 61 | 20 66 6f 6c 64 65 72 2c |visits a| folder,|
|00000930| 20 69 74 20 63 68 65 63 | 6b 73 20 66 6f 72 20 74 | it chec|ks for t|
|00000940| 68 65 20 65 78 69 73 74 | 65 6e 63 65 20 6f 66 20 |he exist|ence of |
|00000950| 61 20 66 69 6c 65 0a 77 | 68 6f 73 65 20 6e 61 6d |a file.w|hose nam|
|00000960| 65 20 69 73 20 74 68 65 | 20 66 6f 6c 64 65 72 27 |e is the| folder'|
|00000970| 73 20 66 69 6c 65 20 6e | 61 6d 65 20 77 69 74 68 |s file n|ame with|
|00000980| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|00000990| 69 73 0a 76 61 72 69 61 | 62 6c 65 20 61 70 70 65 |is.varia|ble appe|
|000009a0| 6e 64 65 64 20 74 6f 20 | 69 74 2e 20 20 49 66 20 |nded to |it. If |
|000009b0| 66 6f 75 6e 64 2c 20 74 | 68 65 20 66 69 6c 65 27 |found, t|he file'|
|000009c0| 73 20 63 6f 6e 74 65 6e | 74 73 20 77 69 6c 6c 20 |s conten|ts will |
|000009d0| 62 65 0a 75 73 65 64 20 | 74 6f 20 74 65 6c 6c 20 |be.used |to tell |
|000009e0| 56 4d 20 61 62 6f 75 74 | 20 74 68 65 20 63 6f 6e |VM about| the con|
|000009f0| 74 65 6e 74 73 20 6f 66 | 20 74 68 65 20 66 6f 6c |tents of| the fol|
|00000a00| 64 65 72 2e 20 20 54 68 | 69 73 20 69 73 20 66 61 |der. Th|is is fa|
|00000a10| 73 74 65 72 0a 74 68 61 | 6e 20 70 61 72 73 69 6e |ster.tha|n parsin|
|00000a20| 67 20 74 68 65 20 66 6f | 6c 64 65 72 20 69 74 73 |g the fo|lder its|
|00000a30| 65 6c 66 2e 0a 0a 57 68 | 65 6e 20 79 6f 75 20 73 |elf...Wh|en you s|
|00000a40| 61 76 65 20 61 20 66 6f | 6c 64 65 72 2c 20 74 68 |ave a fo|lder, th|
|00000a50| 65 20 69 6e 64 65 78 20 | 66 69 6c 65 20 77 69 6c |e index |file wil|
|00000a60| 6c 20 62 65 20 72 65 77 | 72 69 74 74 65 6e 20 77 |l be rew|ritten w|
|00000a70| 69 74 68 0a 75 70 64 61 | 74 65 64 20 69 6e 66 6f |ith.upda|ted info|
|00000a80| 72 6d 61 74 6f 69 6e 20 | 61 62 6f 75 74 20 74 68 |rmatoin |about th|
|00000a90| 65 20 66 6f 6c 64 65 72 | 2e 0a 0a 41 20 6e 69 6c |e folder|...A nil|
|00000aa0| 20 76 61 6c 75 65 20 6d | 65 61 6e 73 20 56 4d 20 | value m|eans VM |
|00000ab0| 73 68 6f 75 6c 64 20 6e | 6f 74 20 72 65 61 64 20 |should n|ot read |
|00000ac0| 6f 72 20 77 72 69 74 65 | 20 69 6e 64 65 78 20 66 |or write| index f|
|00000ad0| 69 6c 65 73 2e 22 29 0a | 28 64 65 66 61 6c 69 61 |iles.").|(defalia|
|00000ae0| 73 20 27 76 6d 2d 73 70 | 6f 6f 6c 2d 66 69 6c 65 |s 'vm-sp|ool-file|
|00000af0| 73 20 23 5b 6e 69 6c 20 | 22 08 ae 9a c1 c2 21 89 |s #[nil |".....!.|
|00000b00| 10 ab 88 c3 08 c4 5c 22 | 89 10 ae 8b c1 c5 21 89 |......\"|......!.|
|00000b10| 10 ad 84 08 43 89 10 87 | 22 20 5b 76 6d 2d 73 70 |....C...|" [vm-sp|
|00000b20| 6f 6f 6c 2d 66 69 6c 65 | 73 20 67 65 74 65 6e 76 |ool-file|s getenv|
|00000b30| 20 22 4d 41 49 4c 50 41 | 54 48 22 20 76 6d 2d 70 | "MAILPA|TH" vm-p|
|00000b40| 61 72 73 65 20 22 5c 5c | 28 5b 5e 3a 25 3f 5d 2b |arse "\\|([^:%?]+|
|00000b50| 5c 5c 29 5c 5c 28 5b 25 | 3f 5d 5b 5e 3a 5d 2a 5c |\\)\\([%|?][^:]*\|
|00000b60| 5c 29 3f 5c 5c 28 3a 5c | 5c 7c 24 5c 5c 29 22 20 |\)?\\(:\|\|$\\)" |
|00000b70| 22 4d 41 49 4c 22 5d 20 | 33 5d 29 0a 28 64 65 66 |"MAIL"] |3]).(def|
|00000b80| 76 61 72 20 76 6d 2d 73 | 70 6f 6f 6c 2d 66 69 6c |var vm-s|pool-fil|
|00000b90| 65 73 20 6e 69 6c 20 22 | 5c 0a 2a 49 66 20 6e 6f |es nil "|\.*If no|
|00000ba0| 6e 2d 6e 69 6c 20 74 68 | 69 73 20 76 61 72 69 61 |n-nil th|is varia|
|00000bb0| 62 6c 65 27 73 20 76 61 | 6c 75 65 20 73 68 6f 75 |ble's va|lue shou|
|00000bc0| 6c 64 20 62 65 20 61 20 | 6c 69 73 74 20 6f 66 20 |ld be a |list of |
|00000bd0| 73 74 72 69 6e 67 73 20 | 0a 6f 72 20 61 20 6c 69 |strings |.or a li|
|00000be0| 73 74 20 6f 66 20 6c 69 | 73 74 73 2e 0a 0a 49 66 |st of li|sts...If|
|00000bf0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 61 20 | the val|ue is a |
|00000c00| 6c 69 73 74 20 6f 66 20 | 73 74 72 69 6e 67 73 2c |list of |strings,|
|00000c10| 20 74 68 65 20 73 74 72 | 69 6e 67 73 20 73 68 6f | the str|ings sho|
|00000c20| 75 6c 64 20 6e 61 6d 65 | 20 66 69 6c 65 73 0a 74 |uld name| files.t|
|00000c30| 68 61 74 20 56 4d 20 77 | 69 6c 6c 20 63 68 65 63 |hat VM w|ill chec|
|00000c40| 6b 20 66 6f 72 20 69 6e | 63 6f 6d 69 6e 67 20 6d |k for in|coming m|
|00000c50| 61 69 6c 20 69 6e 73 74 | 65 61 64 20 6f 66 20 74 |ail inst|ead of t|
|00000c60| 68 65 20 64 65 66 61 75 | 6c 74 20 70 6c 61 63 65 |he defau|lt place|
|00000c70| 0a 56 4d 20 74 68 69 6e | 6b 73 20 79 6f 75 72 20 |.VM thin|ks your |
|00000c80| 73 79 73 74 65 6d 20 6d | 61 69 6c 62 6f 78 20 69 |system m|ailbox i|
|00000c90| 73 2e 20 20 4d 61 69 6c | 20 77 69 6c 6c 20 62 65 |s. Mail| will be|
|00000ca0| 20 6d 6f 76 65 64 20 66 | 72 6f 6d 20 74 68 65 73 | moved f|rom thes|
|00000cb0| 65 0a 6d 61 69 6c 62 6f | 78 65 73 20 74 6f 20 79 |e.mailbo|xes to y|
|00000cc0| 6f 75 72 20 70 72 69 6d | 61 72 79 20 69 6e 62 6f |our prim|ary inbo|
|00000cd0| 78 20 61 73 20 73 70 65 | 63 69 66 69 65 64 20 62 |x as spe|cified b|
|00000ce0| 79 20 76 6d 2d 70 72 69 | 6d 61 72 79 2d 69 6e 62 |y vm-pri|mary-inb|
|00000cf0| 6f 78 2c 0a 75 73 69 6e | 67 20 76 6d 2d 63 72 61 |ox,.usin|g vm-cra|
|00000d00| 73 68 2d 62 6f 78 20 61 | 73 20 61 20 77 61 79 73 |sh-box a|s a ways|
|00000d10| 74 61 74 69 6f 6e 2e 0a | 0a 49 66 20 74 68 65 20 |tation..|.If the |
|00000d20| 76 61 6c 75 65 20 69 73 | 20 61 20 6c 69 73 74 20 |value is| a list |
|00000d30| 6f 66 20 6c 69 73 74 73 | 2c 20 65 61 63 68 20 73 |of lists|, each s|
|00000d40| 75 62 6c 69 73 74 20 73 | 68 6f 75 6c 64 20 62 65 |ublist s|hould be|
|00000d50| 20 6f 66 20 74 68 65 20 | 66 6f 72 6d 0a 0a 20 20 | of the |form.. |
|00000d60| 20 20 28 49 4e 42 4f 58 | 20 53 50 4f 4f 4c 4e 41 | (INBOX| SPOOLNA|
|00000d70| 4d 45 20 43 52 41 53 48 | 42 4f 58 29 0a 0a 49 4e |ME CRASH|BOX)..IN|
|00000d80| 42 4f 58 2c 20 53 50 4f | 4f 4c 4e 41 4d 45 20 61 |BOX, SPO|OLNAME a|
|00000d90| 6e 64 20 43 52 41 53 48 | 42 4f 58 20 61 72 65 20 |nd CRASH|BOX are |
|00000da0| 61 6c 6c 20 73 74 72 69 | 6e 67 73 2e 0a 0a 49 4e |all stri|ngs...IN|
|00000db0| 42 4f 58 20 69 73 20 74 | 68 65 20 66 6f 6c 64 65 |BOX is t|he folde|
|00000dc0| 72 20 77 68 65 72 65 20 | 79 6f 75 20 77 61 6e 74 |r where |you want|
|00000dd0| 20 79 6f 75 72 20 6e 65 | 77 20 6d 61 69 6c 20 74 | your ne|w mail t|
|00000de0| 6f 20 62 65 20 6d 6f 76 | 65 64 20 77 68 65 6e 0a |o be mov|ed when.|
|00000df0| 79 6f 75 20 74 79 70 65 | 20 27 67 27 20 28 72 75 |you type| 'g' (ru|
|00000e00| 6e 6e 69 6e 67 20 76 6d | 2d 67 65 74 2d 6e 65 77 |nning vm|-get-new|
|00000e10| 2d 6d 61 69 6c 29 20 69 | 6e 20 56 4d 2e 20 20 49 |-mail) i|n VM. I|
|00000e20| 74 20 69 73 20 77 68 65 | 72 65 20 79 6f 75 0a 77 |t is whe|re you.w|
|00000e30| 69 6c 6c 20 72 65 61 64 | 20 74 68 65 20 6d 61 69 |ill read| the mai|
|00000e40| 6c 2e 0a 0a 53 50 4f 4f | 4c 4e 41 4d 45 20 69 73 |l...SPOO|LNAME is|
|00000e50| 20 77 68 65 72 65 20 74 | 68 65 20 6d 61 69 6c 20 | where t|he mail |
|00000e60| 73 79 73 74 65 6d 20 6c | 65 61 76 65 73 20 79 6f |system l|eaves yo|
|00000e70| 75 72 20 69 6e 63 6f 6d | 69 6e 67 20 6d 61 69 6c |ur incom|ing mail|
|00000e80| 2c 0a 65 2e 67 2e 20 2f | 76 61 72 2f 73 70 6f 6f |,.e.g. /|var/spoo|
|00000e90| 6c 2f 6d 61 69 6c 2f 6b | 79 6c 65 2e 20 20 49 74 |l/mail/k|yle. It|
|00000ea0| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 61 20 6d | can als|o be a m|
|00000eb0| 61 69 6c 62 6f 78 0a 73 | 70 65 63 69 66 69 63 61 |ailbox.s|pecifica|
|00000ec0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 6f 72 6d |tion of |the form|
|00000ed0| 2c 20 5c 22 70 6f 3a 55 | 53 45 52 5c 22 2c 20 77 |, \"po:U|SER\", w|
|00000ee0| 68 65 72 65 20 55 53 45 | 52 20 69 73 20 61 20 75 |here USE|R is a u|
|00000ef0| 73 65 72 0a 6e 61 6d 65 | 2e 20 20 56 4d 20 77 69 |ser.name|. VM wi|
|00000f00| 6c 6c 20 70 61 73 73 20 | 74 68 69 73 20 73 70 65 |ll pass |this spe|
|00000f10| 63 69 66 69 63 61 74 69 | 6f 6e 20 74 6f 20 74 68 |cificati|on to th|
|00000f20| 65 20 6d 6f 76 65 6d 61 | 69 6c 20 70 72 6f 67 72 |e movema|il progr|
|00000f30| 61 6d 2e 0a 49 74 20 69 | 73 20 75 70 20 74 6f 20 |am..It i|s up to |
|00000f40| 6d 6f 76 65 6d 61 69 6c | 20 74 6f 20 69 6e 74 65 |movemail| to inte|
|00000f50| 72 70 72 65 74 20 69 74 | 20 61 6e 64 20 66 69 67 |rpret it| and fig|
|00000f60| 75 72 65 20 6f 75 74 20 | 77 68 65 72 65 20 74 6f |ure out |where to|
|00000f70| 20 66 69 6e 64 0a 79 6f | 75 72 20 6d 61 69 6c 62 | find.yo|ur mailb|
|00000f80| 6f 78 2e 20 20 53 6f 6d | 65 20 73 79 73 74 65 6d |ox. Som|e system|
|00000f90| 73 20 75 73 65 20 73 70 | 65 63 69 61 6c 20 61 75 |s use sp|ecial au|
|00000fa0| 74 68 65 6e 74 69 63 61 | 74 69 6f 6e 20 6d 65 74 |thentica|tion met|
|00000fb0| 68 6f 64 73 20 74 68 61 | 74 0a 61 72 65 20 6f 6e |hods tha|t.are on|
|00000fc0| 6c 79 20 61 63 63 65 73 | 73 69 62 6c 65 20 76 69 |ly acces|sible vi|
|00000fd0| 61 20 74 68 65 20 6d 6f | 76 65 6d 61 69 6c 20 70 |a the mo|vemail p|
|00000fe0| 72 6f 67 72 61 6d 2e 0a | 0a 53 50 4f 4f 4c 4e 41 |rogram..|.SPOOLNA|
|00000ff0| 4d 45 20 63 61 6e 20 61 | 6c 73 6f 20 62 65 20 61 |ME can a|lso be a|
|00001000| 20 50 4f 50 20 6d 61 69 | 6c 64 72 6f 70 2e 0a 0a | POP mai|ldrop...|
|00001010| 20 20 20 20 41 20 50 4f | 50 20 6d 61 69 6c 64 72 | A PO|P maildr|
|00001020| 6f 70 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |op speci|fication|
|00001030| 20 68 61 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | has the| followi|
|00001040| 6e 67 20 66 6f 72 6d 61 | 74 3a 0a 0a 20 20 20 20 |ng forma|t:.. |
|00001050| 20 20 20 5c 22 48 4f 53 | 54 3a 50 4f 52 54 3a 41 | \"HOS|T:PORT:A|
|00001060| 55 54 48 3a 55 53 45 52 | 3a 50 41 53 53 57 4f 52 |UTH:USER|:PASSWOR|
|00001070| 44 5c 22 0a 0a 20 20 20 | 20 48 4f 53 54 20 69 73 |D\".. | HOST is|
|00001080| 20 74 68 65 20 68 6f 73 | 74 20 6e 61 6d 65 20 6f | the hos|t name o|
|00001090| 66 20 74 68 65 20 50 4f | 50 20 73 65 72 76 65 72 |f the PO|P server|
|000010a0| 0a 20 20 20 20 50 4f 52 | 54 20 69 73 20 74 68 65 |. POR|T is the|
|000010b0| 20 54 43 50 20 70 6f 72 | 74 20 6e 75 6d 62 65 72 | TCP por|t number|
|000010c0| 20 74 6f 20 63 6f 6e 6e | 65 63 74 20 74 6f 20 28 | to conn|ect to (|
|000010d0| 73 68 6f 75 6c 64 20 6e | 6f 72 6d 61 6c 6c 79 20 |should n|ormally |
|000010e0| 62 65 20 31 31 30 29 2e | 0a 20 20 20 20 55 53 45 |be 110).|. USE|
|000010f0| 52 20 69 73 20 74 68 65 | 20 75 73 65 72 20 6e 61 |R is the| user na|
|00001100| 6d 65 20 73 65 6e 74 20 | 74 6f 20 74 68 65 20 73 |me sent |to the s|
|00001110| 65 72 76 65 72 2e 0a 20 | 20 20 20 50 41 53 53 57 |erver.. | PASSW|
|00001120| 4f 52 44 20 69 73 20 74 | 68 65 20 73 65 63 72 65 |ORD is t|he secre|
|00001130| 74 20 73 68 61 72 65 64 | 20 62 79 20 79 6f 75 20 |t shared| by you |
|00001140| 61 6e 64 20 74 68 65 20 | 73 65 72 76 65 72 20 66 |and the |server f|
|00001150| 6f 72 0a 20 20 20 20 61 | 75 74 68 65 6e 74 69 63 |or. a|uthentic|
|00001160| 61 74 69 6f 6e 20 70 75 | 72 70 6f 73 65 73 2e 20 |ation pu|rposes. |
|00001170| 20 48 6f 77 20 69 73 20 | 69 74 20 75 73 65 64 20 | How is |it used |
|00001180| 64 65 70 65 6e 64 73 20 | 6f 6e 20 74 68 65 20 76 |depends |on the v|
|00001190| 61 6c 75 65 20 6f 66 0a | 20 20 20 20 74 68 65 20 |alue of.| the |
|000011a0| 41 55 54 48 20 70 61 72 | 61 6d 65 74 65 72 2e 20 |AUTH par|ameter. |
|000011b0| 20 49 66 20 74 68 65 20 | 50 41 53 53 57 4f 52 44 | If the |PASSWORD|
|000011c0| 20 69 73 20 5c 22 2a 5c | 22 2c 20 56 4d 20 77 69 | is \"*\|", VM wi|
|000011d0| 6c 6c 20 70 72 6f 6d 70 | 74 0a 20 20 20 20 79 6f |ll promp|t. yo|
|000011e0| 75 20 66 6f 72 20 74 68 | 65 20 70 61 73 73 77 6f |u for th|e passwo|
|000011f0| 72 64 20 74 68 65 20 66 | 69 72 73 74 20 74 69 6d |rd the f|irst tim|
|00001200| 65 20 79 6f 75 20 74 72 | 79 20 74 6f 20 72 65 74 |e you tr|y to ret|
|00001210| 72 69 65 76 65 20 6d 61 | 69 6c 20 66 72 6f 6d 0a |rieve ma|il from.|
|00001220| 20 20 20 20 6d 61 69 6c | 64 72 6f 70 2e 20 20 49 | mail|drop. I|
|00001230| 66 20 74 68 65 20 70 61 | 73 73 77 6f 72 64 20 69 |f the pa|ssword i|
|00001240| 73 20 76 61 6c 69 64 2c | 20 56 4d 20 77 69 6c 6c |s valid,| VM will|
|00001250| 20 6e 6f 74 20 61 73 6b | 20 79 6f 75 20 66 6f 72 | not ask| you for|
|00001260| 20 74 68 65 0a 20 20 20 | 20 70 61 73 73 77 6f 72 | the. | passwor|
|00001270| 64 20 61 67 61 69 6e 20 | 64 75 72 69 6e 67 20 74 |d again |during t|
|00001280| 68 69 73 20 45 6d 61 63 | 73 20 73 65 73 73 69 6f |his Emac|s sessio|
|00001290| 6e 2e 0a 0a 20 20 20 20 | 41 55 54 48 20 69 73 20 |n... |AUTH is |
|000012a0| 74 68 65 20 61 75 74 68 | 65 6e 74 69 63 61 74 69 |the auth|enticati|
|000012b0| 6f 6e 20 6d 65 74 68 6f | 64 20 75 73 65 64 20 74 |on metho|d used t|
|000012c0| 6f 20 63 6f 6e 76 69 6e | 63 65 20 74 68 65 20 73 |o convin|ce the s|
|000012d0| 65 72 76 65 72 20 79 6f | 75 0a 20 20 20 20 73 68 |erver yo|u. sh|
|000012e0| 6f 75 6c 64 20 68 61 76 | 65 20 61 63 63 65 73 73 |ould hav|e access|
|000012f0| 20 74 6f 20 74 68 65 20 | 6d 61 69 6c 64 72 6f 70 | to the |maildrop|
|00001300| 2e 20 20 41 63 63 65 70 | 74 61 62 6c 65 20 76 61 |. Accep|table va|
|00001310| 6c 75 65 73 20 61 72 65 | 0a 20 20 20 20 5c 22 70 |lues are|. \"p|
|00001320| 61 73 73 5c 22 2c 20 5c | 22 72 70 6f 70 5c 22 20 |ass\", \|"rpop\" |
|00001330| 61 6e 64 20 5c 22 61 70 | 6f 70 5c 22 2e 20 20 46 |and \"ap|op\". F|
|00001340| 6f 72 20 5c 22 70 61 73 | 73 5c 22 2c 20 74 68 65 |or \"pas|s\", the|
|00001350| 20 50 41 53 53 57 4f 52 | 44 20 69 73 20 73 65 6e | PASSWOR|D is sen|
|00001360| 74 20 74 6f 0a 20 20 20 | 20 74 68 65 20 73 65 72 |t to. | the ser|
|00001370| 76 65 72 20 77 69 74 68 | 20 74 68 65 20 50 4f 50 |ver with| the POP|
|00001380| 20 50 41 53 53 20 63 6f | 6d 6d 61 6e 64 2e 20 20 | PASS co|mmand. |
|00001390| 46 6f 72 20 5c 22 72 70 | 6f 70 5c 22 2c 20 74 68 |For \"rp|op\", th|
|000013a0| 65 20 50 41 53 53 57 4f | 52 44 0a 20 20 20 20 73 |e PASSWO|RD. s|
|000013b0| 68 6f 75 6c 64 20 62 65 | 20 74 68 65 20 73 74 72 |hould be| the str|
|000013c0| 69 6e 67 20 74 6f 20 62 | 65 20 73 65 6e 74 20 74 |ing to b|e sent t|
|000013d0| 6f 20 74 68 65 20 73 65 | 72 76 65 72 20 76 69 61 |o the se|rver via|
|000013e0| 20 74 68 65 20 52 50 4f | 50 0a 20 20 20 20 63 6f | the RPO|P. co|
|000013f0| 6d 6d 61 6e 64 2e 20 20 | 49 6e 20 74 68 69 73 20 |mmand. |In this |
|00001400| 63 61 73 65 20 74 68 65 | 20 73 74 72 69 6e 67 20 |case the| string |
|00001410| 69 73 20 6e 6f 74 20 72 | 65 61 6c 6c 79 20 61 20 |is not r|eally a |
|00001420| 73 65 63 72 65 74 3b 0a | 20 20 20 20 61 75 74 68 |secret;.| auth|
|00001430| 65 6e 74 69 63 61 74 69 | 6f 6e 20 69 73 20 64 6f |enticati|on is do|
|00001440| 6e 65 20 62 79 20 6f 74 | 68 65 72 20 6d 65 61 6e |ne by ot|her mean|
|00001450| 73 2e 20 20 46 6f 72 20 | 5c 22 61 70 6f 70 5c 22 |s. For |\"apop\"|
|00001460| 2c 20 61 6e 20 4d 44 35 | 20 64 69 67 65 73 74 0a |, an MD5| digest.|
|00001470| 20 20 20 20 6f 66 20 74 | 68 65 20 50 41 53 53 57 | of t|he PASSW|
|00001480| 4f 52 44 20 61 70 70 65 | 6e 64 65 64 20 74 6f 20 |ORD appe|nded to |
|00001490| 74 68 65 20 73 65 72 76 | 65 72 20 74 69 6d 65 73 |the serv|er times|
|000014a0| 74 61 6d 70 20 77 69 6c | 6c 20 62 65 20 73 65 6e |tamp wil|l be sen|
|000014b0| 74 20 74 6f 0a 20 20 20 | 20 74 68 65 20 73 65 72 |t to. | the ser|
|000014c0| 76 65 72 20 77 69 74 68 | 20 74 68 65 20 41 50 4f |ver with| the APO|
|000014d0| 50 20 63 6f 6d 6d 61 6e | 64 2e 20 20 49 6e 20 6f |P comman|d. In o|
|000014e0| 72 64 65 72 20 74 6f 20 | 75 73 65 20 5c 22 61 70 |rder to |use \"ap|
|000014f0| 6f 70 5c 22 20 79 6f 75 | 0a 20 20 20 20 77 69 6c |op\" you|. wil|
|00001500| 6c 20 68 61 76 65 20 74 | 6f 20 73 65 74 20 74 68 |l have t|o set th|
|00001510| 65 20 76 61 6c 75 65 20 | 6f 66 20 76 6d 2d 70 6f |e value |of vm-po|
|00001520| 70 2d 6d 64 35 2d 70 72 | 6f 67 72 61 6d 20 61 70 |p-md5-pr|ogram ap|
|00001530| 70 72 6f 70 72 69 61 74 | 65 6c 79 20 74 6f 0a 20 |propriat|ely to. |
|00001540| 20 20 20 70 6f 69 6e 74 | 20 61 74 20 74 68 65 20 | point| at the |
|00001550| 70 72 6f 67 72 61 6d 20 | 74 68 61 74 20 77 69 6c |program |that wil|
|00001560| 6c 20 67 65 6e 65 72 61 | 74 65 20 74 68 65 20 4d |l genera|te the M|
|00001570| 44 35 20 64 69 67 65 73 | 74 20 74 68 61 74 20 56 |D5 diges|t that V|
|00001580| 4d 0a 20 20 20 20 6e 65 | 65 64 73 2e 0a 0a 43 52 |M. ne|eds...CR|
|00001590| 41 53 48 42 4f 58 20 69 | 73 20 74 68 65 20 74 65 |ASHBOX i|s the te|
|000015a0| 6d 70 6f 72 61 72 79 20 | 66 69 6c 65 20 74 68 61 |mporary |file tha|
|000015b0| 74 20 56 4d 20 75 73 65 | 73 20 74 6f 20 73 74 6f |t VM use|s to sto|
|000015c0| 72 65 20 6d 61 69 6c 20 | 69 6e 0a 74 72 61 6e 73 |re mail |in.trans|
|000015d0| 69 74 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 53 |it betwe|en the S|
|000015e0| 50 4f 4f 4c 4e 41 4d 45 | 20 61 6e 64 20 74 68 65 |POOLNAME| and the|
|000015f0| 20 49 4e 42 4f 58 2e 20 | 20 49 66 20 74 68 65 20 | INBOX. | If the |
|00001600| 73 79 73 74 65 6d 0a 63 | 72 61 73 68 65 73 20 6f |system.c|rashes o|
|00001610| 72 20 45 6d 61 63 73 20 | 64 69 65 73 20 77 68 69 |r Emacs |dies whi|
|00001620| 6c 65 20 6d 61 69 6c 20 | 69 73 20 62 65 69 6e 67 |le mail |is being|
|00001630| 20 6d 6f 76 65 64 2c 20 | 61 6e 64 20 74 68 65 20 | moved, |and the |
|00001640| 6e 65 77 0a 6d 61 69 6c | 20 69 73 20 6e 6f 74 20 |new.mail| is not |
|00001650| 69 6e 20 74 68 65 20 53 | 50 4f 4f 4c 4e 41 4d 45 |in the S|POOLNAME|
|00001660| 20 6f 72 20 74 68 65 20 | 49 4e 42 4f 58 2c 20 74 | or the |INBOX, t|
|00001670| 68 65 6e 20 69 74 20 77 | 69 6c 6c 20 62 65 20 69 |hen it w|ill be i|
|00001680| 6e 0a 74 68 65 20 43 52 | 41 53 48 42 4f 58 2e 0a |n.the CR|ASHBOX..|
|00001690| 0a 54 68 65 72 65 20 63 | 61 6e 20 62 65 20 6d 75 |.There c|an be mu|
|000016a0| 6c 74 69 70 6c 65 20 65 | 6e 74 72 69 65 73 20 77 |ltiple e|ntries w|
|000016b0| 69 74 68 20 74 68 65 20 | 73 61 6d 65 20 49 4e 42 |ith the |same INB|
|000016c0| 4f 58 20 76 61 6c 75 65 | 2c 20 62 75 74 20 61 0a |OX value|, but a.|
|000016d0| 70 61 72 74 69 63 75 6c | 61 72 20 53 50 4f 4f 4c |particul|ar SPOOL|
|000016e0| 4e 41 4d 45 20 73 68 6f | 75 6c 64 20 61 70 70 65 |NAME sho|uld appe|
|000016f0| 61 72 20 6f 6e 6c 79 20 | 6f 6e 63 65 2e 20 20 43 |ar only |once. C|
|00001700| 52 41 53 48 42 4f 58 65 | 73 20 73 68 6f 75 6c 64 |RASHBOXe|s should|
|00001710| 0a 6e 6f 74 20 62 65 20 | 73 68 61 72 65 64 20 61 |.not be |shared a|
|00001720| 6d 6f 6e 67 20 64 69 66 | 66 65 72 65 6e 74 20 49 |mong dif|ferent I|
|00001730| 4e 42 4f 58 65 73 2c 20 | 62 75 74 20 79 6f 75 20 |NBOXes, |but you |
|00001740| 63 61 6e 20 75 73 65 20 | 74 68 65 20 73 61 6d 65 |can use |the same|
|00001750| 0a 43 52 41 53 48 42 4f | 58 2f 49 4e 42 4f 58 20 |.CRASHBO|X/INBOX |
|00001760| 70 61 69 72 20 77 69 74 | 68 20 61 20 64 69 66 66 |pair wit|h a diff|
|00001770| 65 72 65 6e 74 20 53 50 | 4f 4f 4c 4e 41 4d 45 2e |erent SP|OOLNAME.|
|00001780| 0a 0a 76 6d 2d 73 70 6f | 6f 6c 2d 66 69 6c 65 73 |..vm-spo|ol-files|
|00001790| 20 77 69 6c 6c 20 64 65 | 66 61 75 6c 74 20 74 6f | will de|fault to|
|000017a0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 74 68 | the val|ue of th|
|000017b0| 65 20 73 68 65 6c 6c 0a | 65 6e 76 69 72 6f 6e 6d |e shell.|environm|
|000017c0| 65 6e 74 61 6c 20 76 61 | 72 69 61 62 6c 65 73 20 |ental va|riables |
|000017d0| 4d 41 49 4c 50 41 54 48 | 20 6f 72 20 4d 41 49 4c |MAILPATH| or MAIL|
|000017e0| 20 69 66 20 65 69 74 68 | 65 72 20 6f 66 20 74 68 | if eith|er of th|
|000017f0| 65 73 65 0a 76 61 72 69 | 61 62 6c 65 73 20 61 72 |ese.vari|ables ar|
|00001800| 65 20 64 65 66 69 6e 65 | 64 20 61 6e 64 20 6e 6f |e define|d and no|
|00001810| 20 70 61 72 74 69 63 75 | 6c 61 72 20 76 61 6c 75 | particu|lar valu|
|00001820| 65 20 66 6f 72 20 76 6d | 2d 73 70 6f 6f 6c 2d 66 |e for vm|-spool-f|
|00001830| 69 6c 65 73 0a 68 61 73 | 20 62 65 65 6e 20 73 70 |iles.has| been sp|
|00001840| 65 63 69 66 69 65 64 2e | 22 29 0a 28 64 65 66 76 |ecified.|").(defv|
|00001850| 61 72 20 76 6d 2d 73 70 | 6f 6f 6c 2d 66 69 6c 65 |ar vm-sp|ool-file|
|00001860| 2d 73 75 66 66 69 78 65 | 73 20 6e 69 6c 20 22 5c |-suffixe|s nil "\|
|00001870| 0a 2a 4c 69 73 74 20 6f | 66 20 73 75 66 66 69 78 |.*List o|f suffix|
|00001880| 65 73 20 74 6f 20 62 65 | 20 75 73 65 64 20 74 6f |es to be| used to|
|00001890| 20 63 72 65 61 74 65 20 | 70 6f 73 73 69 62 6c 65 | create |possible|
|000018a0| 20 73 70 6f 6f 6c 20 66 | 69 6c 65 20 6e 61 6d 65 | spool f|ile name|
|000018b0| 73 0a 66 6f 72 20 66 6f | 6c 64 65 72 73 2e 20 20 |s.for fo|lders. |
|000018c0| 45 78 61 6d 70 6c 65 3a | 0a 0a 20 20 28 73 65 74 |Example:|.. (set|
|000018d0| 71 20 76 6d 2d 73 70 6f | 6f 6c 2d 66 69 6c 65 2d |q vm-spo|ol-file-|
|000018e0| 73 75 66 66 69 78 65 73 | 20 27 28 5c 22 2e 73 70 |suffixes| '(\".sp|
|000018f0| 6f 6f 6c 5c 22 20 5c 22 | 2d 5c 22 29 29 0a 0a 49 |ool\" \"|-\"))..I|
|00001900| 66 20 79 6f 75 20 76 69 | 73 69 74 20 61 20 66 6f |f you vi|sit a fo|
|00001910| 6c 64 65 72 20 7e 2f 6d | 61 69 6c 2f 62 65 65 6b |lder ~/m|ail/beek|
|00001920| 65 65 70 69 6e 67 2c 20 | 77 68 65 6e 20 56 4d 20 |eeping, |when VM |
|00001930| 61 74 74 65 6d 70 74 73 | 20 74 6f 0a 72 65 74 72 |attempts| to.retr|
|00001940| 69 65 76 65 20 6e 65 77 | 20 6d 61 69 6c 20 66 6f |ieve new| mail fo|
|00001950| 72 20 74 68 61 74 20 66 | 6f 6c 64 65 72 20 69 74 |r that f|older it|
|00001960| 20 77 69 6c 6c 20 6c 6f | 6f 6b 20 66 6f 72 20 6d | will lo|ok for m|
|00001970| 61 69 6c 20 69 6e 0a 7e | 2f 6d 61 69 6c 2f 62 65 |ail in.~|/mail/be|
|00001980| 65 6b 65 65 70 69 6e 67 | 2e 73 70 6f 6f 6c 20 61 |ekeeping|.spool a|
|00001990| 6e 64 20 7e 2f 6d 61 69 | 6c 2f 62 65 65 6b 65 65 |nd ~/mai|l/beekee|
|000019a0| 70 69 6e 67 2d 20 69 6e | 20 61 64 64 69 74 69 6f |ping- in| additio|
|000019b0| 6e 20 74 6f 0a 73 63 61 | 6e 6e 69 6e 67 20 76 6d |n to.sca|nning vm|
|000019c0| 2d 73 70 6f 6f 6c 2d 66 | 69 6c 65 73 20 66 6f 72 |-spool-f|iles for|
|000019d0| 20 6d 61 74 63 68 65 73 | 2e 0a 0a 54 68 65 20 76 | matches|...The v|
|000019e0| 61 6c 75 65 20 6f 66 20 | 76 6d 2d 73 70 6f 6f 6c |alue of |vm-spool|
|000019f0| 2d 66 69 6c 65 73 2d 73 | 75 66 66 69 78 65 73 20 |-files-s|uffixes |
|00001a00| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 75 73 65 64 |will not| be used|
|00001a10| 20 75 6e 6c 65 73 73 0a | 76 6d 2d 63 72 61 73 68 | unless.|vm-crash|
|00001a20| 2d 62 6f 78 2d 73 75 66 | 66 69 78 20 69 73 20 61 |-box-suf|fix is a|
|00001a30| 6c 73 6f 20 64 65 66 69 | 6e 65 64 2c 20 73 69 6e |lso defi|ned, sin|
|00001a40| 63 65 20 61 20 63 72 61 | 73 68 20 62 6f 78 20 69 |ce a cra|sh box i|
|00001a50| 73 0a 72 65 71 75 69 72 | 65 64 20 66 6f 72 20 61 |s.requir|ed for a|
|00001a60| 6c 6c 20 6d 61 69 6c 20 | 72 65 74 72 69 65 76 61 |ll mail |retrieva|
|00001a70| 6c 20 66 72 6f 6d 20 73 | 70 6f 6f 6c 20 66 69 6c |l from s|pool fil|
|00001a80| 65 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 76 6d |es.").(d|efvar vm|
|00001a90| 2d 63 72 61 73 68 2d 62 | 6f 78 2d 73 75 66 66 69 |-crash-b|ox-suffi|
|00001aa0| 78 20 6e 69 6c 20 22 5c | 0a 2a 53 74 72 69 6e 67 |x nil "\|.*String|
|00001ab0| 20 73 75 66 66 69 78 20 | 75 73 65 64 20 74 6f 20 | suffix |used to |
|00001ac0| 63 72 65 61 74 65 20 70 | 6f 73 73 69 62 6c 65 20 |create p|ossible |
|00001ad0| 63 72 61 73 68 20 62 6f | 78 20 66 69 6c 65 20 6e |crash bo|x file n|
|00001ae0| 61 6d 65 73 20 66 6f 72 | 20 66 6f 6c 64 65 72 73 |ames for| folders|
|00001af0| 2e 0a 57 68 65 6e 20 56 | 4d 20 75 73 65 73 20 76 |..When V|M uses v|
|00001b00| 6d 2d 73 70 6f 6f 6c 2d | 66 69 6c 65 2d 73 75 66 |m-spool-|file-suf|
|00001b10| 66 69 78 65 73 20 74 6f | 20 63 72 65 61 74 65 20 |fixes to| create |
|00001b20| 61 20 73 70 6f 6f 6c 20 | 66 69 6c 65 20 6e 61 6d |a spool |file nam|
|00001b30| 65 2c 0a 69 74 20 77 69 | 6c 6c 20 61 70 70 65 6e |e,.it wi|ll appen|
|00001b40| 64 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 76 |d the va|lue of v|
|00001b50| 6d 2d 63 72 61 73 68 2d | 62 6f 78 2d 73 75 66 66 |m-crash-|box-suff|
|00001b60| 69 78 20 74 6f 20 74 68 | 65 20 66 6f 6c 64 65 72 |ix to th|e folder|
|00001b70| 27 73 0a 66 69 6c 65 20 | 6e 61 6d 65 20 74 6f 20 |'s.file |name to |
|00001b80| 63 72 65 61 74 65 20 61 | 20 63 72 61 73 68 20 62 |create a| crash b|
|00001b90| 6f 78 20 6e 61 6d 65 2e | 22 29 0a 28 64 65 66 76 |ox name.|").(defv|
|00001ba0| 61 72 20 76 6d 2d 6d 61 | 6b 65 2d 73 70 6f 6f 6c |ar vm-ma|ke-spool|
|00001bb0| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 6e 69 6c 20 22 |-file-na|me nil "|
|00001bc0| 5c 0a 2a 4e 6f 6e 2d 6e | 69 6c 20 76 61 6c 75 65 |\.*Non-n|il value|
|00001bd0| 20 73 68 6f 75 6c 64 20 | 62 65 20 61 20 66 75 6e | should |be a fun|
|00001be0| 63 74 69 6f 6e 20 74 68 | 61 74 20 72 65 74 75 72 |ction th|at retur|
|00001bf0| 6e 73 20 61 20 73 70 6f | 6f 6c 20 66 69 6c 65 20 |ns a spo|ol file |
|00001c00| 6e 61 6d 65 0a 66 6f 72 | 20 61 20 66 6f 6c 64 65 |name.for| a folde|
|00001c10| 72 2e 20 20 54 68 65 20 | 66 75 6e 63 74 69 6f 6e |r. The |function|
|00001c20| 20 77 69 6c 6c 20 62 65 | 20 63 61 6c 6c 65 64 20 | will be| called |
|00001c30| 77 69 74 68 20 6f 6e 65 | 20 61 72 67 75 6d 65 6e |with one| argumen|
|00001c40| 74 2c 20 74 68 65 0a 66 | 6f 6c 64 65 72 27 73 20 |t, the.f|older's |
|00001c50| 66 69 6c 65 20 6e 61 6d | 65 2e 20 20 49 66 20 74 |file nam|e. If t|
|00001c60| 68 65 20 66 6f 6c 64 65 | 72 20 64 6f 65 73 20 6e |he folde|r does n|
|00001c70| 6f 74 20 68 61 76 65 20 | 61 20 66 69 6c 65 20 6e |ot have |a file n|
|00001c80| 61 6d 65 2c 0a 74 68 65 | 20 66 75 6e 63 74 69 6f |ame,.the| functio|
|00001c90| 6e 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 63 61 |n will n|ot be ca|
|00001ca0| 6c 6c 65 64 2e 22 29 0a | 28 64 65 66 76 61 72 20 |lled.").|(defvar |
|00001cb0| 76 6d 2d 6d 61 6b 65 2d | 63 72 61 73 68 2d 62 6f |vm-make-|crash-bo|
|00001cc0| 78 2d 6e 61 6d 65 20 6e | 69 6c 20 22 5c 0a 2a 4e |x-name n|il "\.*N|
|00001cd0| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 20 73 68 6f |on-nil v|alue sho|
|00001ce0| 75 6c 64 20 62 65 20 61 | 20 66 75 6e 63 74 69 6f |uld be a| functio|
|00001cf0| 6e 20 74 68 61 74 20 72 | 65 74 75 72 6e 73 20 61 |n that r|eturns a|
|00001d00| 20 63 72 61 73 68 20 62 | 6f 78 20 66 69 6c 65 20 | crash b|ox file |
|00001d10| 6e 61 6d 65 0a 66 6f 72 | 20 61 20 66 6f 6c 64 65 |name.for| a folde|
|00001d20| 72 2e 20 20 54 68 65 20 | 66 75 6e 63 74 69 6f 6e |r. The |function|
|00001d30| 20 77 69 6c 6c 20 62 65 | 20 63 61 6c 6c 65 64 20 | will be| called |
|00001d40| 77 69 74 68 20 6f 6e 65 | 20 61 72 67 75 6d 65 6e |with one| argumen|
|00001d50| 74 2c 20 74 68 65 0a 66 | 6f 6c 64 65 72 27 73 20 |t, the.f|older's |
|00001d60| 66 69 6c 65 20 6e 61 6d | 65 2e 20 20 49 66 20 74 |file nam|e. If t|
|00001d70| 68 65 20 66 6f 6c 64 65 | 72 20 64 6f 65 73 20 6e |he folde|r does n|
|00001d80| 6f 74 20 68 61 76 65 20 | 61 20 66 69 6c 65 20 6e |ot have |a file n|
|00001d90| 61 6d 65 2c 0a 74 68 65 | 20 66 75 6e 63 74 69 6f |ame,.the| functio|
|00001da0| 6e 20 77 69 6c 6c 20 6e | 6f 74 20 62 65 20 63 61 |n will n|ot be ca|
|00001db0| 6c 6c 65 64 2e 22 29 0a | 28 64 65 66 76 61 72 20 |lled.").|(defvar |
|00001dc0| 76 6d 2d 70 6f 70 2d 6d | 64 35 2d 70 72 6f 67 72 |vm-pop-m|d5-progr|
|00001dd0| 61 6d 20 22 6d 64 35 22 | 20 22 5c 0a 2a 50 72 6f |am "md5"| "\.*Pro|
|00001de0| 67 72 61 6d 20 74 68 61 | 74 20 72 65 61 64 73 20 |gram tha|t reads |
|00001df0| 61 20 6d 65 73 73 61 67 | 65 20 6f 6e 20 69 74 73 |a messag|e on its|
|00001e00| 20 73 74 61 6e 64 61 72 | 64 20 69 6e 70 75 74 20 | standar|d input |
|00001e10| 61 6e 64 20 77 72 69 74 | 65 73 20 61 6e 0a 4d 44 |and writ|es an.MD|
|00001e20| 35 20 64 69 67 65 73 74 | 20 6f 6e 20 69 74 73 20 |5 digest| on its |
|00001e30| 6f 75 74 70 75 74 2e 22 | 29 0a 28 64 65 66 76 61 |output."|).(defva|
|00001e40| 72 20 76 6d 2d 70 6f 70 | 2d 6d 61 78 2d 6d 65 73 |r vm-pop|-max-mes|
|00001e50| 73 61 67 65 2d 73 69 7a | 65 20 6e 69 6c 20 22 5c |sage-siz|e nil "\|
|00001e60| 0a 2a 49 66 20 56 4d 20 | 69 73 20 61 62 6f 75 74 |.*If VM |is about|
|00001e70| 20 74 6f 20 72 65 74 72 | 69 65 76 65 20 76 69 61 | to retr|ieve via|
|00001e80| 20 50 4f 50 20 61 20 6d | 65 73 73 61 67 65 20 6c | POP a m|essage l|
|00001e90| 61 72 67 65 72 20 74 68 | 61 6e 20 74 68 69 73 20 |arger th|an this |
|00001ea0| 73 69 7a 65 0a 28 69 6e | 20 62 79 74 65 73 29 20 |size.(in| bytes) |
|00001eb0| 69 74 20 77 69 6c 6c 20 | 61 73 6b 20 74 68 65 20 |it will |ask the |
|00001ec0| 79 6f 75 20 77 68 65 74 | 68 65 72 20 69 74 20 73 |you whet|her it s|
|00001ed0| 68 6f 75 6c 64 20 72 65 | 74 72 69 65 76 65 20 74 |hould re|trieve t|
|00001ee0| 68 65 20 6d 65 73 73 61 | 67 65 2e 0a 0a 49 66 20 |he messa|ge...If |
|00001ef0| 56 4d 20 69 73 20 72 65 | 74 72 69 65 76 69 6e 67 |VM is re|trieving|
|00001f00| 20 6d 61 69 6c 20 61 75 | 74 6f 6d 61 74 69 63 61 | mail au|tomatica|
|00001f10| 6c 6c 79 20 62 65 63 61 | 75 73 65 20 76 6d 2d 61 |lly beca|use vm-a|
|00001f20| 75 74 6f 2d 67 65 74 2d | 6e 65 77 2d 6d 61 69 6c |uto-get-|new-mail|
|00001f30| 20 69 73 0a 73 65 74 20 | 74 6f 20 61 20 6e 75 6d | is.set |to a num|
|00001f40| 65 72 69 63 20 76 61 6c | 75 65 20 74 68 65 6e 20 |eric val|ue then |
|00001f50| 79 6f 75 20 77 69 6c 6c | 20 6e 6f 74 20 62 65 20 |you will| not be |
|00001f60| 70 72 6f 6d 70 74 65 64 | 20 61 62 6f 75 74 20 6c |prompted| about l|
|00001f70| 61 72 67 65 20 6d 65 73 | 73 61 67 65 73 2e 0a 54 |arge mes|sages..T|
|00001f80| 68 69 73 20 69 73 20 74 | 6f 20 61 76 6f 69 64 20 |his is t|o avoid |
|00001f90| 70 72 6f 6d 70 74 69 6e | 67 20 79 6f 75 20 77 68 |promptin|g you wh|
|00001fa0| 69 6c 65 20 79 6f 75 27 | 72 65 20 74 79 70 69 6e |ile you'|re typin|
|00001fb0| 67 20 69 6e 20 61 6e 6f | 74 68 65 72 20 62 75 66 |g in ano|ther buf|
|00001fc0| 66 65 72 2e 0a 49 6e 20 | 74 68 69 73 20 63 61 73 |fer..In |this cas|
|00001fd0| 65 20 74 68 65 20 6c 61 | 72 67 65 20 6d 65 73 73 |e the la|rge mess|
|00001fe0| 61 67 65 20 77 69 6c 6c | 20 62 65 20 73 6b 69 70 |age will| be skip|
|00001ff0| 70 65 64 20 77 69 74 68 | 20 61 20 77 61 72 6e 69 |ped with| a warni|
|00002000| 6e 67 0a 6d 65 73 73 61 | 67 65 2e 0a 0a 41 20 6e |ng.messa|ge...A n|
|00002010| 69 6c 20 76 61 6c 75 65 | 20 66 6f 72 20 76 6d 2d |il value| for vm-|
|00002020| 70 6f 70 2d 6d 61 78 2d | 6d 65 73 73 61 67 65 2d |pop-max-|message-|
|00002030| 73 69 7a 65 20 6d 65 61 | 6e 73 20 6e 6f 20 73 69 |size mea|ns no si|
|00002040| 7a 65 20 6c 69 6d 69 74 | 2e 22 29 0a 28 64 65 66 |ze limit|.").(def|
|00002050| 76 61 72 20 76 6d 2d 70 | 6f 70 2d 6d 65 73 73 61 |var vm-p|op-messa|
|00002060| 67 65 73 2d 70 65 72 2d | 73 65 73 73 69 6f 6e 20 |ges-per-|session |
|00002070| 6e 69 6c 20 22 5c 0a 2a | 4e 6f 6e 2d 6e 69 6c 20 |nil "\.*|Non-nil |
|00002080| 76 61 6c 75 65 20 73 68 | 6f 75 6c 64 20 62 65 20 |value sh|ould be |
|00002090| 61 20 69 6e 74 65 67 65 | 72 20 73 70 65 63 69 66 |a intege|r specif|
|000020a0| 79 69 6e 67 20 68 6f 77 | 20 6d 61 6e 79 20 6d 65 |ying how| many me|
|000020b0| 73 73 61 67 65 73 20 74 | 6f 0a 72 65 74 72 69 65 |ssages t|o.retrie|
|000020c0| 76 65 20 70 65 72 20 50 | 4f 50 20 73 65 73 73 69 |ve per P|OP sessi|
|000020d0| 6f 6e 2e 20 20 57 68 65 | 6e 20 79 6f 75 20 74 79 |on. Whe|n you ty|
|000020e0| 70 65 20 27 67 27 20 74 | 6f 20 67 65 74 20 6e 65 |pe 'g' t|o get ne|
|000020f0| 77 20 6d 61 69 6c 2c 20 | 56 4d 0a 77 69 6c 6c 20 |w mail, |VM.will |
|00002100| 6f 6e 6c 79 20 72 65 74 | 72 69 65 76 65 20 74 68 |only ret|rieve th|
|00002110| 61 74 20 6d 61 6e 79 20 | 6d 65 73 73 61 67 65 73 |at many |messages|
|00002120| 20 66 72 6f 6d 20 61 6e | 79 20 70 61 72 74 69 63 | from an|y partic|
|00002130| 75 6c 61 72 20 50 4f 50 | 20 6d 61 69 6c 64 72 6f |ular POP| maildro|
|00002140| 70 2e 0a 54 6f 20 72 65 | 74 72 69 65 76 65 20 6d |p..To re|trieve m|
|00002150| 6f 72 65 20 6d 65 73 73 | 61 67 65 73 2c 20 74 79 |ore mess|ages, ty|
|00002160| 70 65 20 27 67 27 20 61 | 67 61 69 6e 2e 0a 0a 41 |pe 'g' a|gain...A|
|00002170| 20 6e 69 6c 20 76 61 6c | 75 65 20 6d 65 61 6e 73 | nil val|ue means|
|00002180| 20 74 68 65 72 65 27 73 | 20 6e 6f 20 6c 69 6d 69 | there's| no limi|
|00002190| 74 2e 22 29 0a 28 64 65 | 66 76 61 72 20 76 6d 2d |t.").(de|fvar vm-|
|000021a0| 70 6f 70 2d 62 79 74 65 | 73 2d 70 65 72 2d 73 65 |pop-byte|s-per-se|
|000021b0| 73 73 69 6f 6e 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |ssion ni|l "\.*No|
|000021c0| 6e 2d 6e 69 6c 20 76 61 | 6c 75 65 20 73 68 6f 75 |n-nil va|lue shou|
|000021d0| 6c 64 20 62 65 20 61 20 | 69 6e 74 65 67 65 72 20 |ld be a |integer |
|000021e0| 73 70 65 63 69 66 79 69 | 6e 67 20 68 6f 77 20 6d |specifyi|ng how m|
|000021f0| 61 6e 79 20 62 79 74 65 | 73 20 74 6f 0a 72 65 74 |any byte|s to.ret|
|00002200| 72 69 65 76 65 20 70 65 | 72 20 50 4f 50 20 73 65 |rieve pe|r POP se|
|00002210| 73 73 69 6f 6e 2e 20 20 | 57 68 65 6e 20 79 6f 75 |ssion. |When you|
|00002220| 20 74 79 70 65 20 27 67 | 27 20 74 6f 20 67 65 74 | type 'g|' to get|
|00002230| 20 6e 65 77 20 6d 61 69 | 6c 2c 20 56 4d 0a 77 69 | new mai|l, VM.wi|
|00002240| 6c 6c 20 6f 6e 6c 79 20 | 72 65 74 72 69 65 76 65 |ll only |retrieve|
|00002250| 20 6d 65 73 73 61 67 65 | 73 20 75 6e 74 69 6c 20 | message|s until |
|00002260| 74 68 65 20 62 79 74 65 | 20 6c 69 6d 69 74 20 69 |the byte| limit i|
|00002270| 73 20 72 65 61 63 68 65 | 64 20 6f 6e 0a 61 6e 79 |s reache|d on.any|
|00002280| 20 70 61 72 74 69 63 75 | 6c 61 72 20 50 4f 50 20 | particu|lar POP |
|00002290| 6d 61 69 6c 64 72 6f 70 | 2e 20 20 54 6f 20 72 65 |maildrop|. To re|
|000022a0| 74 72 69 65 76 65 20 6d | 6f 72 65 20 6d 65 73 73 |trieve m|ore mess|
|000022b0| 61 67 65 73 2c 20 74 79 | 70 65 20 27 67 27 0a 61 |ages, ty|pe 'g'.a|
|000022c0| 67 61 69 6e 2e 0a 0a 41 | 20 6e 69 6c 20 76 61 6c |gain...A| nil val|
|000022d0| 75 65 20 6d 65 61 6e 73 | 20 74 68 65 72 65 27 73 |ue means| there's|
|000022e0| 20 6e 6f 20 6c 69 6d 69 | 74 2e 22 29 0a 28 64 65 | no limi|t.").(de|
|000022f0| 66 76 61 72 20 76 6d 2d | 70 6f 70 2d 65 78 70 75 |fvar vm-|pop-expu|
|00002300| 6e 67 65 2d 61 66 74 65 | 72 2d 72 65 74 72 69 65 |nge-afte|r-retrie|
|00002310| 76 69 6e 67 20 74 20 22 | 5c 0a 2a 4e 6f 6e 2d 6e |ving t "|\.*Non-n|
|00002320| 69 6c 20 76 61 6c 75 65 | 20 6d 65 61 6e 73 20 69 |il value| means i|
|00002330| 6d 6d 65 64 69 61 74 65 | 6c 79 20 64 65 6c 65 74 |mmediate|ly delet|
|00002340| 65 20 6d 65 73 73 61 67 | 65 73 20 66 72 6f 6d 20 |e messag|es from |
|00002350| 61 20 50 4f 50 20 6d 61 | 69 6c 62 6f 78 0a 61 66 |a POP ma|ilbox.af|
|00002360| 74 65 72 20 72 65 74 72 | 69 65 76 69 6e 67 20 74 |ter retr|ieving t|
|00002370| 68 65 6d 2e 20 20 41 20 | 6e 69 6c 20 76 61 6c 75 |hem. A |nil valu|
|00002380| 65 20 6d 65 61 6e 73 20 | 6d 65 73 73 61 67 65 73 |e means |messages|
|00002390| 20 77 69 6c 6c 20 62 65 | 20 6c 65 66 74 0a 69 6e | will be| left.in|
|000023a0| 20 74 68 65 20 50 4f 50 | 20 6d 61 69 6c 62 6f 78 | the POP| mailbox|
|000023b0| 20 75 6e 74 69 6c 20 79 | 6f 75 20 72 75 6e 20 76 | until y|ou run v|
|000023c0| 6d 2d 65 78 70 75 6e 67 | 65 2d 70 6f 70 2d 6d 65 |m-expung|e-pop-me|
|000023d0| 73 73 61 67 65 73 2e 0a | 0a 54 68 69 73 20 76 61 |ssages..|.This va|
|000023e0| 72 69 61 62 6c 65 20 6f | 6e 6c 79 20 61 66 66 65 |riable o|nly affe|
|000023f0| 63 74 73 20 50 4f 50 20 | 6d 61 69 6c 62 6f 78 20 |cts POP |mailbox |
|00002400| 6e 6f 74 20 6c 69 73 74 | 65 64 20 69 6e 0a 76 6d |not list|ed in.vm|
|00002410| 2d 70 6f 70 2d 61 75 74 | 6f 2d 65 78 70 75 6e 67 |-pop-aut|o-expung|
|00002420| 65 2d 61 6c 69 73 74 20 | 28 77 68 69 63 68 20 73 |e-alist |(which s|
|00002430| 65 65 29 2e 22 29 0a 28 | 64 65 66 76 61 72 20 76 |ee).").(|defvar v|
|00002440| 6d 2d 70 6f 70 2d 61 75 | 74 6f 2d 65 78 70 75 6e |m-pop-au|to-expun|
|00002450| 67 65 2d 61 6c 69 73 74 | 20 6e 69 6c 20 22 5c 0a |ge-alist| nil "\.|
|00002460| 2a 4c 69 73 74 20 6f 66 | 20 50 4f 50 20 6d 61 69 |*List of| POP mai|
|00002470| 6c 62 6f 78 65 73 20 61 | 6e 64 20 76 61 6c 75 65 |lboxes a|nd value|
|00002480| 73 20 73 70 65 63 69 66 | 79 69 6e 67 20 77 68 65 |s specif|ying whe|
|00002490| 74 68 65 72 20 6d 65 73 | 73 61 67 65 73 0a 73 68 |ther mes|sages.sh|
|000024a0| 6f 75 6c 64 20 62 65 20 | 61 75 74 6f 6d 61 74 69 |ould be |automati|
|000024b0| 63 61 6c 6c 79 20 64 65 | 6c 65 74 65 64 20 66 72 |cally de|leted fr|
|000024c0| 6f 6d 20 74 68 65 20 6d | 61 69 6c 62 6f 78 20 61 |om the m|ailbox a|
|000024d0| 66 74 65 72 20 72 65 74 | 72 69 65 76 61 6c 2e 0a |fter ret|rieval..|
|000024e0| 54 68 65 20 66 6f 72 6d | 61 74 20 6f 66 20 74 68 |The form|at of th|
|000024f0| 65 20 6c 69 73 74 20 69 | 73 0a 0a 20 20 28 28 4d |e list i|s.. ((M|
|00002500| 41 49 4c 42 4f 58 20 2e | 20 56 41 4c 29 20 28 4d |AILBOX .| VAL) (M|
|00002510| 41 49 4c 42 4f 58 20 2e | 20 56 41 4c 29 20 2e 2e |AILBOX .| VAL) ..|
|00002520| 2e 29 0a 0a 4d 41 49 4c | 42 4f 58 20 73 68 6f 75 |.)..MAIL|BOX shou|
|00002530| 6c 64 20 62 65 20 61 20 | 70 6f 70 20 6d 61 69 6c |ld be a |pop mail|
|00002540| 62 6f 78 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |box spec|ificatio|
|00002550| 6e 20 61 73 20 64 65 73 | 63 72 69 62 65 64 20 69 |n as des|cribed i|
|00002560| 6e 0a 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |n.the do|cumentat|
|00002570| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 76 61 72 69 |ion for |the vari|
|00002580| 61 62 6c 65 20 76 6d 2d | 73 70 6f 6f 6c 2d 66 69 |able vm-|spool-fi|
|00002590| 6c 65 73 2e 20 20 49 66 | 20 79 6f 75 20 68 61 76 |les. If| you hav|
|000025a0| 65 0a 74 68 65 20 50 4f | 50 20 70 61 73 73 77 6f |e.the PO|P passwo|
|000025b0| 72 64 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 20 |rd speci|fied in |
|000025c0| 74 68 65 20 76 6d 2d 73 | 70 6f 6f 6c 2d 66 69 6c |the vm-s|pool-fil|
|000025d0| 65 73 20 65 6e 74 72 79 | 2c 20 79 6f 75 20 64 6f |es entry|, you do|
|000025e0| 0a 6e 6f 74 20 68 61 76 | 65 20 74 6f 20 73 70 65 |.not hav|e to spe|
|000025f0| 63 69 66 79 20 69 74 20 | 68 65 72 65 20 61 73 20 |cify it |here as |
|00002600| 77 65 6c 6c 2e 20 20 55 | 73 65 20 60 2a 27 20 69 |well. U|se `*' i|
|00002610| 6e 73 74 65 61 64 3b 20 | 56 4d 20 77 69 6c 6c 0a |nstead; |VM will.|
|00002620| 73 74 69 6c 6c 20 75 6e | 64 65 72 73 74 61 6e 64 |still un|derstand|
|00002630| 20 74 68 61 74 20 74 68 | 69 73 20 6d 61 69 6c 62 | that th|is mailb|
|00002640| 6f 78 20 69 73 20 74 68 | 65 20 73 61 6d 65 20 61 |ox is th|e same a|
|00002650| 73 20 74 68 65 20 6f 6e | 65 20 69 6e 0a 76 6d 2d |s the on|e in.vm-|
|00002660| 73 70 6f 6f 6c 2d 66 69 | 6c 65 73 20 74 68 61 74 |spool-fi|les that|
|00002670| 20 67 69 76 65 73 20 74 | 68 65 20 70 61 73 73 77 | gives t|he passw|
|00002680| 6f 72 64 2e 0a 0a 56 41 | 4c 20 73 68 6f 75 6c 64 |ord...VA|L should|
|00002690| 20 62 65 20 6e 69 6c 20 | 69 66 20 72 65 74 72 69 | be nil |if retri|
|000026a0| 65 76 65 64 20 6d 65 73 | 73 61 67 65 73 20 73 68 |eved mes|sages sh|
|000026b0| 6f 75 6c 64 20 62 65 20 | 6c 65 66 74 20 69 6e 20 |ould be |left in |
|000026c0| 74 68 65 0a 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |the.corr|espondin|
|000026d0| 67 20 50 4f 50 20 6d 61 | 69 6c 62 6f 78 2c 20 74 |g POP ma|ilbox, t|
|000026e0| 20 69 66 20 72 65 74 72 | 69 65 76 65 64 20 6d 65 | if retr|ieved me|
|000026f0| 73 73 61 67 65 73 20 73 | 68 6f 75 6c 64 20 62 65 |ssages s|hould be|
|00002700| 0a 64 65 6c 65 74 65 64 | 20 66 72 6f 6d 20 74 68 |.deleted| from th|
|00002710| 65 20 6d 61 69 6c 62 6f | 78 20 69 6d 6d 65 64 69 |e mailbo|x immedi|
|00002720| 61 74 65 6c 79 20 61 66 | 74 65 72 20 72 65 74 72 |ately af|ter retr|
|00002730| 69 65 76 61 6c 2e 22 29 | 0a 28 64 65 66 76 61 72 |ieval.")|.(defvar|
|00002740| 20 76 6d 2d 72 65 63 6f | 67 6e 69 7a 65 2d 70 6f | vm-reco|gnize-po|
|00002750| 70 2d 6d 61 69 6c 64 72 | 6f 70 73 20 22 5e 5b 5e |p-maildr|ops "^[^|
|00002760| 3a 5d 2b 3a 5b 5e 3a 5d | 2b 3a 5b 5e 3a 5d 2b 3a |:]+:[^:]|+:[^:]+:|
|00002770| 5b 5e 3a 5d 2b 3a 5b 5e | 3a 5d 2b 22 20 22 5c 0a |[^:]+:[^|:]+" "\.|
|00002780| 2a 56 61 6c 75 65 20 69 | 66 20 6e 6f 6e 2d 6e 69 |*Value i|f non-ni|
|00002790| 6c 20 73 68 6f 75 6c 64 | 20 62 65 20 61 20 72 65 |l should| be a re|
|000027a0| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|000027b0| 20 74 68 61 74 20 6d 61 | 74 63 68 65 73 0a 73 70 | that ma|tches.sp|
|000027c0| 6f 6f 6c 20 6e 61 6d 65 | 73 20 66 6f 75 6e 64 20 |ool name|s found |
|000027d0| 69 6e 20 76 6d 2d 73 70 | 6f 6f 6c 2d 66 69 6c 65 |in vm-sp|ool-file|
|000027e0| 73 20 74 68 61 74 20 73 | 68 6f 75 6c 64 20 62 65 |s that s|hould be|
|000027f0| 20 63 6f 6e 73 69 64 65 | 72 65 64 20 50 4f 50 0a | conside|red POP.|
|00002800| 6d 61 69 6c 64 72 6f 70 | 73 2e 20 20 41 20 6e 69 |maildrop|s. A ni|
|00002810| 6c 20 76 61 6c 75 65 20 | 74 65 6c 6c 73 20 56 4d |l value |tells VM|
|00002820| 20 74 68 61 74 20 61 6c | 6c 20 74 68 65 20 73 70 | that al|l the sp|
|00002830| 6f 6f 6c 20 6e 61 6d 65 | 73 20 61 72 65 20 74 6f |ool name|s are to|
|00002840| 0a 62 65 20 63 6f 6e 73 | 69 64 65 72 65 64 20 66 |.be cons|idered f|
|00002850| 69 6c 65 73 2e 22 29 0a | 28 64 65 66 76 61 72 20 |iles.").|(defvar |
|00002860| 76 6d 2d 61 75 74 6f 2d | 67 65 74 2d 6e 65 77 2d |vm-auto-|get-new-|
|00002870| 6d 61 69 6c 20 74 20 22 | 5c 0a 2a 4e 6f 6e 2d 6e |mail t "|\.*Non-n|
|00002880| 69 6c 20 76 61 6c 75 65 | 20 63 61 75 73 65 73 20 |il value| causes |
|00002890| 56 4d 20 74 6f 20 61 75 | 74 6f 6d 61 74 69 63 61 |VM to au|tomatica|
|000028a0| 6c 6c 79 20 6d 6f 76 65 | 20 6d 61 69 6c 20 66 72 |lly move| mail fr|
|000028b0| 6f 6d 20 73 70 6f 6f 6c | 20 66 69 6c 65 73 0a 74 |om spool| files.t|
|000028c0| 6f 20 61 20 6d 61 69 6c | 20 66 6f 6c 64 65 72 20 |o a mail| folder |
|000028d0| 77 68 65 6e 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |when the| folder |
|000028e0| 69 73 20 66 69 72 73 74 | 20 76 69 73 69 74 65 64 |is first| visited|
|000028f0| 2e 20 20 4e 69 6c 20 6d | 65 61 6e 73 0a 79 6f 75 |. Nil m|eans.you|
|00002900| 20 6d 75 73 74 20 61 6c | 77 61 79 73 20 75 73 65 | must al|ways use|
|00002910| 20 76 6d 2d 67 65 74 2d | 6e 65 77 2d 6d 61 69 6c | vm-get-|new-mail|
|00002920| 20 74 6f 20 70 75 6c 6c | 20 69 6e 20 6e 65 77 6c | to pull| in newl|
|00002930| 79 20 61 72 72 69 76 65 | 64 20 6d 65 73 73 61 67 |y arrive|d messag|
|00002940| 65 73 2e 0a 0a 49 66 20 | 74 68 65 20 76 61 6c 75 |es...If |the valu|
|00002950| 65 20 69 73 20 61 20 6e | 75 6d 62 65 72 2c 20 74 |e is a n|umber, t|
|00002960| 68 65 6e 20 69 74 20 73 | 70 65 63 69 66 69 65 73 |hen it s|pecifies|
|00002970| 20 68 6f 77 20 6f 66 74 | 65 6e 20 28 69 6e 0a 73 | how oft|en (in.s|
|00002980| 65 63 6f 6e 64 73 29 20 | 56 4d 20 73 68 6f 75 6c |econds) |VM shoul|
|00002990| 64 20 63 68 65 63 6b 20 | 66 6f 72 20 6e 65 77 20 |d check |for new |
|000029a0| 6d 61 69 6c 20 61 6e 64 | 20 74 72 79 20 74 6f 20 |mail and| try to |
|000029b0| 72 65 74 72 69 65 76 65 | 20 69 74 2e 0a 54 68 69 |retrieve| it..Thi|
|000029c0| 73 20 69 73 20 64 6f 6e | 65 20 61 73 79 6e 63 68 |s is don|e asynch|
|000029d0| 72 6f 6e 6f 75 73 6c 79 | 20 61 6e 64 20 6d 61 79 |ronously| and may|
|000029e0| 20 6f 63 63 75 72 20 77 | 68 69 6c 65 20 79 6f 75 | occur w|hile you|
|000029f0| 20 61 72 65 20 65 64 69 | 74 69 6e 67 0a 6f 74 68 | are edi|ting.oth|
|00002a00| 65 72 20 66 69 6c 65 73 | 2e 20 20 49 74 20 73 68 |er files|. It sh|
|00002a10| 6f 75 6c 64 20 6e 6f 74 | 20 64 69 73 74 75 72 62 |ould not| disturb|
|00002a20| 20 79 6f 75 72 20 65 64 | 69 74 69 6e 67 2c 20 65 | your ed|iting, e|
|00002a30| 78 63 65 70 74 20 70 65 | 72 68 61 70 73 0a 66 6f |xcept pe|rhaps.fo|
|00002a40| 72 20 61 20 70 61 75 73 | 65 20 77 68 69 6c 65 20 |r a paus|e while |
|00002a50| 74 68 65 20 63 68 65 63 | 6b 20 69 73 20 62 65 69 |the chec|k is bei|
|00002a60| 6e 67 20 64 6f 6e 65 2e | 22 29 0a 28 64 65 66 76 |ng done.|").(defv|
|00002a70| 61 72 20 76 6d 2d 6d 61 | 69 6c 2d 63 68 65 63 6b |ar vm-ma|il-check|
|00002a80| 2d 69 6e 74 65 72 76 61 | 6c 20 33 30 30 20 22 5c |-interva|l 300 "\|
|00002a90| 0a 2a 4e 75 6d 65 72 69 | 63 20 76 61 6c 75 65 20 |.*Numeri|c value |
|00002aa0| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 20 6e 75 |specifie|s the nu|
|00002ab0| 6d 62 65 72 20 6f 66 20 | 73 65 63 6f 6e 64 73 20 |mber of |seconds |
|00002ac0| 62 65 74 77 65 65 6e 20 | 63 68 65 63 6b 73 0a 66 |between |checks.f|
|00002ad0| 6f 72 20 6e 65 77 20 6d | 61 69 6c 2e 20 20 54 68 |or new m|ail. Th|
|00002ae0| 65 20 6d 61 69 6c 64 72 | 6f 70 73 20 66 6f 72 20 |e maildr|ops for |
|00002af0| 61 6c 6c 20 76 69 73 69 | 74 65 64 20 66 6f 6c 64 |all visi|ted fold|
|00002b00| 65 72 73 20 61 72 65 20 | 63 68 65 63 6b 65 64 2e |ers are |checked.|
|00002b10| 0a 0a 41 20 6e 69 6c 20 | 76 61 6c 75 65 20 6d 65 |..A nil |value me|
|00002b20| 61 6e 73 20 64 6f 6e 27 | 74 20 63 68 65 63 6b 20 |ans don'|t check |
|00002b30| 66 6f 72 20 6e 65 77 20 | 6d 61 69 6c 2e 0a 0a 4e |for new |mail...N|
|00002b40| 6f 74 65 20 74 68 61 74 | 20 6d 61 69 6c 20 69 66 |ote that| mail if|
|00002b50| 20 6e 65 77 20 6d 61 69 | 6c 20 69 73 20 66 6f 75 | new mai|l is fou|
|00002b60| 6e 64 2c 20 69 74 20 69 | 73 20 6e 6f 74 20 72 65 |nd, it i|s not re|
|00002b70| 74 72 69 65 76 65 64 2e | 20 20 54 68 65 0a 62 75 |trieved.| The.bu|
|00002b80| 66 66 65 72 20 6c 6f 63 | 61 6c 20 76 61 72 69 61 |ffer loc|al varia|
|00002b90| 62 6c 65 20 76 6d 2d 73 | 70 6f 6f 6c 65 64 2d 6d |ble vm-s|pooled-m|
|00002ba0| 61 69 6c 2d 77 61 69 74 | 69 6e 67 20 69 73 20 73 |ail-wait|ing is s|
|00002bb0| 65 74 20 6e 6f 6e 2d 6e | 69 6c 20 69 6e 0a 74 68 |et non-n|il in.th|
|00002bc0| 65 20 62 75 66 66 65 72 | 73 20 6f 66 20 74 68 6f |e buffer|s of tho|
|00002bd0| 73 65 20 66 6f 6c 64 65 | 72 73 20 74 68 61 74 20 |se folde|rs that |
|00002be0| 68 61 76 65 20 6d 61 69 | 6c 20 77 61 69 74 69 6e |have mai|l waitin|
|00002bf0| 67 2e 20 20 56 4d 20 75 | 73 65 73 0a 74 68 65 20 |g. VM u|ses.the |
|00002c00| 64 69 73 70 6c 61 79 73 | 20 5c 22 4d 61 69 6c 5c |displays| \"Mail\|
|00002c10| 22 20 69 6e 20 74 68 65 | 20 6d 6f 64 65 20 6c 69 |" in the| mode li|
|00002c20| 6e 65 20 6f 66 20 66 6f | 6c 64 65 72 73 20 74 68 |ne of fo|lders th|
|00002c30| 61 74 20 68 61 76 65 20 | 6d 61 69 6c 0a 77 61 69 |at have |mail.wai|
|00002c40| 74 69 6e 67 2e 22 29 0a | 28 64 65 66 76 61 72 20 |ting.").|(defvar |
|00002c50| 76 6d 2d 73 70 6f 6f 6c | 65 64 2d 6d 61 69 6c 2d |vm-spool|ed-mail-|
|00002c60| 77 61 69 74 69 6e 67 20 | 6e 69 6c 20 22 5c 0a 56 |waiting |nil "\.V|
|00002c70| 61 6c 75 65 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 20 |alue is |non-nil |
|00002c80| 69 66 20 74 68 65 72 65 | 20 69 73 20 6d 61 69 6c |if there| is mail|
|00002c90| 20 77 61 69 74 69 6e 67 | 20 66 6f 72 20 74 68 65 | waiting| for the|
|00002ca0| 20 63 75 72 72 65 6e 74 | 20 66 6f 6c 64 65 72 2e | current| folder.|
|00002cb0| 0a 54 68 69 73 20 76 61 | 72 69 61 62 6c 65 27 73 |.This va|riable's|
|00002cc0| 20 76 61 6c 75 65 20 69 | 73 20 6c 6f 63 61 6c 20 | value i|s local |
|00002cd0| 69 6e 20 61 6c 6c 20 62 | 75 66 66 65 72 73 2e 0a |in all b|uffers..|
|00002ce0| 56 4d 20 6d 61 69 6e 74 | 61 69 6e 73 20 74 68 69 |VM maint|ains thi|
|00002cf0| 73 20 76 61 72 69 61 62 | 6c 65 2c 20 79 6f 75 20 |s variab|le, you |
|00002d00| 73 68 6f 75 6c 64 20 6e | 6f 74 20 73 65 74 20 69 |should n|ot set i|
|00002d10| 74 2e 22 29 0a 28 6d 61 | 6b 65 2d 76 61 72 69 61 |t.").(ma|ke-varia|
|00002d20| 62 6c 65 2d 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |ble-buff|er-local|
|00002d30| 20 27 76 6d 2d 73 70 6f | 6f 6c 65 64 2d 6d 61 69 | 'vm-spo|oled-mai|
|00002d40| 6c 2d 77 61 69 74 69 6e | 67 29 0a 28 64 65 66 76 |l-waitin|g).(defv|
|00002d50| 61 72 20 76 6d 2d 64 65 | 66 61 75 6c 74 2d 66 6f |ar vm-de|fault-fo|
|00002d60| 6c 64 65 72 2d 74 79 70 | 65 20 28 62 79 74 65 2d |lder-typ|e (byte-|
|00002d70| 63 6f 64 65 20 22 c0 c1 | 21 ac 82 c2 87 c3 c4 09 |code "..|!.......|
|00002d80| 5c 22 ac 8c c3 c5 09 5c | 22 ac 86 c3 c6 09 5c 22 |\".....\|".....\"|
|00002d90| ab 82 c7 87 c3 c8 09 5c | 22 ab 82 c9 87 c2 87 22 |.......\|"......"|
|00002da0| 20 5b 62 6f 75 6e 64 70 | 20 73 79 73 74 65 6d 2d | [boundp| system-|
|00002db0| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 46 72 |configur|ation Fr|
|00002dc0| 6f 6d 5f 20 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |om_ stri|ng-match|
|00002dd0| 20 22 2d 73 6f 6c 61 72 | 69 73 22 20 22 75 73 67 | "-solar|is" "usg|
|00002de0| 2d 75 6e 69 78 2d 76 22 | 20 22 2d 69 62 6d 2d 61 |-unix-v"| "-ibm-a|
|00002df0| 69 78 22 20 46 72 6f 6d | 5f 2d 77 69 74 68 2d 43 |ix" From|_-with-C|
|00002e00| 6f 6e 74 65 6e 74 2d 4c | 65 6e 67 74 68 20 22 2d |ontent-L|ength "-|
|00002e10| 73 63 6f 22 20 6d 6d 64 | 66 5d 20 33 29 20 22 5c |sco" mmd|f] 3) "\|
|00002e20| 0a 2a 44 65 66 61 75 6c | 74 20 66 6f 6c 64 65 72 |.*Defaul|t folder|
|00002e30| 20 74 79 70 65 20 66 6f | 72 20 65 6d 70 74 79 20 | type fo|r empty |
|00002e40| 66 6f 6c 64 65 72 73 2e | 0a 49 66 20 56 4d 20 68 |folders.|.If VM h|
|00002e50| 61 73 20 74 6f 20 61 64 | 64 20 6d 65 73 73 61 67 |as to ad|d messag|
|00002e60| 65 73 20 74 68 61 74 20 | 68 61 76 65 20 6e 6f 20 |es that |have no |
|00002e70| 73 70 65 63 69 66 69 63 | 20 66 6f 6c 64 65 72 20 |specific| folder |
|00002e80| 74 79 70 65 20 74 6f 20 | 61 6e 0a 65 6d 70 74 79 |type to |an.empty|
|00002e90| 20 66 6f 6c 64 65 72 2c | 20 74 68 65 20 66 6f 6c | folder,| the fol|
|00002ea0| 64 65 72 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |der will| become |
|00002eb0| 74 68 69 73 20 64 65 66 | 61 75 6c 74 20 74 79 70 |this def|ault typ|
|00002ec0| 65 2e 0a 41 6c 6c 6f 77 | 65 64 20 74 79 70 65 73 |e..Allow|ed types|
|00002ed0| 20 61 72 65 3a 0a 0a 20 | 20 20 46 72 6f 6d 5f 0a | are:.. | From_.|
|00002ee0| 20 20 20 46 72 6f 6d 5f | 2d 77 69 74 68 2d 43 6f | From_|-with-Co|
|00002ef0| 6e 74 65 6e 74 2d 4c 65 | 6e 67 74 68 0a 20 20 20 |ntent-Le|ngth. |
|00002f00| 6d 6d 64 66 0a 20 20 20 | 62 61 62 79 6c 0a 0a 56 |mmdf. |babyl..V|
|00002f10| 61 6c 75 65 20 6d 75 73 | 74 20 62 65 20 61 20 73 |alue mus|t be a s|
|00002f20| 79 6d 62 6f 6c 2c 20 6e | 6f 74 20 61 20 73 74 72 |ymbol, n|ot a str|
|00002f30| 69 6e 67 2e 20 69 2e 65 | 2e 20 77 72 69 74 65 0a |ing. i.e|. write.|
|00002f40| 0a 20 20 28 73 65 74 71 | 20 76 6d 2d 64 65 66 61 |. (setq| vm-defa|
|00002f50| 75 6c 74 2d 66 6f 6c 64 | 65 72 2d 74 79 70 65 20 |ult-fold|er-type |
|00002f60| 27 46 72 6f 6d 5f 29 0a | 0a 69 6e 20 79 6f 75 72 |'From_).|.in your|
|00002f70| 20 2e 65 6d 61 63 73 20 | 6f 72 20 2e 76 6d 20 66 | .emacs |or .vm f|
|00002f80| 69 6c 65 2e 0a 0a 49 66 | 20 79 6f 75 20 73 65 74 |ile...If| you set|
|00002f90| 20 74 68 69 73 20 76 61 | 72 69 61 62 6c 65 27 73 | this va|riable's|
|00002fa0| 20 76 61 6c 75 65 20 74 | 6f 20 46 72 6f 6d 5f 2d | value t|o From_-|
|00002fb0| 77 69 74 68 2d 43 6f 6e | 74 65 6e 74 2d 4c 65 6e |with-Con|tent-Len|
|00002fc0| 67 74 68 20 79 6f 75 0a | 6d 75 73 74 20 73 65 74 |gth you.|must set|
|00002fd0| 20 76 6d 2d 74 72 75 73 | 74 2d 46 72 6f 6d 5f 2d | vm-trus|t-From_-|
|00002fe0| 77 69 74 68 2d 43 6f 6e | 74 65 6e 74 2d 4c 65 6e |with-Con|tent-Len|
|00002ff0| 67 74 68 20 6e 6f 6e 2d | 6e 69 6c 2e 22 29 0a 28 |gth non-|nil.").(|
|00003000| 64 65 66 76 61 72 20 76 | 6d 2d 63 68 65 63 6b 2d |defvar v|m-check-|
|00003010| 66 6f 6c 64 65 72 2d 74 | 79 70 65 73 20 74 20 22 |folder-t|ypes t "|
|00003020| 5c 0a 2a 4e 6f 6e 2d 6e | 69 6c 20 76 61 6c 75 65 |\.*Non-n|il value|
|00003030| 20 63 61 75 73 65 73 20 | 56 4d 20 74 6f 20 63 68 | causes |VM to ch|
|00003040| 65 63 6b 20 66 6f 6c 64 | 65 72 20 61 6e 64 20 6d |eck fold|er and m|
|00003050| 65 73 73 61 67 65 20 74 | 79 70 65 73 20 66 6f 72 |essage t|ypes for|
|00003060| 0a 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 20 62 |.compati|bility b|
|00003070| 65 66 6f 72 65 20 69 74 | 20 70 65 72 66 6f 72 6d |efore it| perform|
|00003080| 73 20 63 65 72 74 61 69 | 6e 20 6f 70 65 72 61 74 |s certai|n operat|
|00003090| 69 6f 6e 73 2e 0a 0a 42 | 65 66 6f 72 65 20 73 61 |ions...B|efore sa|
|000030a0| 76 69 6e 67 20 61 20 6d | 65 73 73 61 67 65 20 74 |ving a m|essage t|
|000030b0| 6f 20 61 20 66 6f 6c 64 | 65 72 2c 20 56 4d 20 77 |o a fold|er, VM w|
|000030c0| 69 6c 6c 20 63 68 65 63 | 6b 20 74 68 61 74 20 74 |ill chec|k that t|
|000030d0| 68 65 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 20 66 |he desti|nation f|
|000030e0| 6f 6c 64 65 72 0a 69 73 | 20 6f 66 20 74 68 65 20 |older.is| of the |
|000030f0| 73 61 6d 65 20 74 79 70 | 65 20 61 73 20 74 68 65 |same typ|e as the|
|00003100| 20 6d 65 73 73 61 67 65 | 20 74 6f 20 62 65 20 73 | message| to be s|
|00003110| 61 76 65 64 2e 0a 0a 42 | 65 66 6f 72 65 20 69 6e |aved...B|efore in|
|00003120| 63 6f 72 70 6f 72 61 74 | 69 6e 67 20 6d 65 73 73 |corporat|ing mess|
|00003130| 61 67 65 20 69 6e 74 6f | 20 61 20 76 69 73 69 74 |age into| a visit|
|00003140| 65 64 20 66 6f 6c 64 65 | 72 2c 20 56 4d 20 77 69 |ed folde|r, VM wi|
|00003150| 6c 6c 20 63 68 65 63 6b | 20 74 68 61 74 20 74 68 |ll check| that th|
|00003160| 65 0a 6d 65 73 73 61 67 | 65 73 20 61 72 65 20 6f |e.messag|es are o|
|00003170| 66 20 74 68 65 20 73 61 | 6d 65 20 74 79 70 65 20 |f the sa|me type |
|00003180| 61 73 20 74 68 61 74 20 | 66 6f 6c 64 65 72 2e 0a |as that |folder..|
|00003190| 0a 41 20 6e 69 6c 20 76 | 61 6c 75 65 20 6d 65 61 |.A nil v|alue mea|
|000031a0| 6e 73 20 64 6f 6e 27 74 | 20 64 6f 20 74 68 65 20 |ns don't| do the |
|000031b0| 63 68 65 63 6b 73 2e 0a | 0a 49 66 20 6e 6f 6e 2d |checks..|.If non-|
|000031c0| 6e 69 6c 2c 20 56 4d 20 | 77 69 6c 6c 20 65 69 74 |nil, VM |will eit|
|000031d0| 68 65 72 20 63 6f 6e 76 | 65 72 74 20 74 68 65 20 |her conv|ert the |
|000031e0| 6d 65 73 73 61 67 65 73 | 20 74 6f 20 74 68 65 20 |messages| to the |
|000031f0| 61 70 70 72 6f 70 72 69 | 61 74 65 0a 74 79 70 65 |appropri|ate.type|
|00003200| 20 62 65 66 6f 72 65 20 | 73 61 76 69 6e 67 20 6f | before |saving o|
|00003210| 72 20 69 6e 63 6f 72 70 | 6f 72 61 74 69 6e 67 20 |r incorp|orating |
|00003220| 74 68 65 6d 2c 20 6f 72 | 20 69 74 20 77 69 6c 6c |them, or| it will|
|00003230| 20 73 69 67 6e 61 6c 20 | 61 6e 0a 65 72 72 6f 72 | signal |an.error|
|00003240| 2e 20 20 54 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |. The v|alue of |
|00003250| 76 6d 2d 63 6f 6e 76 65 | 72 74 2d 66 6f 6c 64 65 |vm-conve|rt-folde|
|00003260| 72 2d 74 79 70 65 73 20 | 64 65 74 65 72 6d 69 6e |r-types |determin|
|00003270| 65 73 20 77 68 69 63 68 | 0a 61 63 74 69 6f 6e 20 |es which|.action |
|00003280| 56 4d 20 77 69 6c 6c 20 | 74 61 6b 65 2e 22 29 0a |VM will |take.").|
|00003290| 28 64 65 66 76 61 72 20 | 76 6d 2d 63 6f 6e 76 65 |(defvar |vm-conve|
|000032a0| 72 74 2d 66 6f 6c 64 65 | 72 2d 74 79 70 65 73 20 |rt-folde|r-types |
|000032b0| 74 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 76 61 |t "\.*No|n-nil va|
|000032c0| 6c 75 65 20 6d 65 61 6e | 73 20 74 68 61 74 20 77 |lue mean|s that w|
|000032d0| 68 65 6e 20 56 4d 20 63 | 68 65 63 6b 73 20 66 6f |hen VM c|hecks fo|
|000032e0| 6c 64 65 72 20 74 79 70 | 65 73 20 61 6e 64 20 66 |lder typ|es and f|
|000032f0| 69 6e 64 73 0a 61 20 6d | 69 73 6d 61 74 63 68 20 |inds.a m|ismatch |
|00003300| 28 73 65 65 20 76 6d 2d | 63 68 65 63 6b 2d 66 6f |(see vm-|check-fo|
|00003310| 6c 64 65 72 2d 74 79 70 | 65 73 29 2c 20 69 74 20 |lder-typ|es), it |
|00003320| 77 69 6c 6c 20 63 6f 6e | 76 65 72 74 20 74 68 65 |will con|vert the|
|00003330| 0a 73 6f 75 72 63 65 20 | 6d 65 73 73 61 67 65 73 |.source |messages|
|00003340| 20 74 6f 20 74 68 65 20 | 74 79 70 65 20 6f 66 20 | to the |type of |
|00003350| 74 68 65 20 64 65 73 74 | 69 6e 61 74 69 6f 6e 20 |the dest|ination |
|00003360| 66 6f 6c 64 65 72 2c 20 | 69 66 20 69 74 20 63 61 |folder, |if it ca|
|00003370| 6e 2e 0a 0a 49 66 20 76 | 6d 2d 63 68 65 63 6b 2d |n...If v|m-check-|
|00003380| 66 6f 6c 64 65 72 2d 74 | 79 70 65 73 20 69 73 20 |folder-t|ypes is |
|00003390| 6e 69 6c 2c 20 74 68 65 | 6e 20 74 68 69 73 20 76 |nil, the|n this v|
|000033a0| 61 72 69 61 62 6c 65 20 | 69 73 6e 27 74 0a 63 6f |ariable |isn't.co|
|000033b0| 6e 73 75 6c 74 65 64 2e | 22 29 0a 28 64 65 66 76 |nsulted.|").(defv|
|000033c0| 61 72 20 76 6d 2d 74 72 | 75 73 74 2d 46 72 6f 6d |ar vm-tr|ust-From|
|000033d0| 5f 2d 77 69 74 68 2d 43 | 6f 6e 74 65 6e 74 2d 4c |_-with-C|ontent-L|
|000033e0| 65 6e 67 74 68 20 28 65 | 71 6c 20 76 6d 2d 64 65 |ength (e|ql vm-de|
|000033f0| 66 61 75 6c 74 2d 66 6f | 6c 64 65 72 2d 74 79 70 |fault-fo|lder-typ|
|00003400| 65 20 27 46 72 6f 6d 5f | 2d 77 69 74 68 2d 43 6f |e 'From_|-with-Co|
|00003410| 6e 74 65 6e 74 2d 4c 65 | 6e 67 74 68 29 20 22 5c |ntent-Le|ngth) "\|
|00003420| 0a 2a 4e 6f 6e 2d 6e 69 | 6c 20 76 61 6c 75 65 20 |.*Non-ni|l value |
|00003430| 6d 65 61 6e 73 20 74 68 | 61 74 20 69 66 20 74 68 |means th|at if th|
|00003440| 65 20 66 69 72 73 74 20 | 6d 65 73 73 61 67 65 20 |e first |message |
|00003450| 69 6e 20 61 20 66 6f 6c | 64 65 72 20 63 6f 6e 74 |in a fol|der cont|
|00003460| 61 69 6e 73 0a 61 20 43 | 6f 6e 74 65 6e 74 2d 4c |ains.a C|ontent-L|
|00003470| 65 6e 67 74 68 20 68 65 | 61 64 65 72 20 61 6e 64 |ength he|ader and|
|00003480| 20 62 65 67 69 6e 73 20 | 77 69 74 68 20 5c 22 46 | begins |with \"F|
|00003490| 72 6f 6d 20 5c 22 20 56 | 4d 20 63 61 6e 20 73 61 |rom \" V|M can sa|
|000034a0| 66 65 6c 79 0a 61 73 73 | 75 6d 65 20 74 68 61 74 |fely.ass|ume that|
|000034b0| 20 61 6c 6c 20 6d 65 73 | 73 61 67 65 73 20 69 6e | all mes|sages in|
|000034c0| 20 74 68 65 20 66 6f 6c | 64 65 72 20 68 61 76 65 | the fol|der have|
|000034d0| 20 43 6f 6e 74 65 6e 74 | 2d 4c 65 6e 67 74 68 20 | Content|-Length |
|000034e0| 68 65 61 64 65 72 73 0a | 74 68 61 74 20 73 70 65 |headers.|that spe|
|000034f0| 63 69 66 79 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |cify the| length |
|00003500| 6f 66 20 74 68 65 20 74 | 65 78 74 20 73 65 63 74 |of the t|ext sect|
|00003510| 69 6f 6e 20 6f 66 20 65 | 61 63 68 20 6d 65 73 73 |ion of e|ach mess|
|00003520| 61 67 65 2e 20 20 56 4d | 0a 77 69 6c 6c 20 74 68 |age. VM|.will th|
|00003530| 65 6e 20 75 73 65 20 74 | 68 65 73 65 20 68 65 61 |en use t|hese hea|
|00003540| 64 65 72 73 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |ders to |determin|
|00003550| 65 20 6d 65 73 73 61 67 | 65 20 62 6f 75 6e 64 61 |e messag|e bounda|
|00003560| 72 69 65 73 0a 69 6e 73 | 74 65 61 64 20 6f 66 20 |ries.ins|tead of |
|00003570| 74 68 65 20 75 73 75 61 | 6c 20 77 61 79 20 6f 66 |the usua|l way of|
|00003580| 20 73 65 61 72 63 68 69 | 6e 67 20 66 6f 72 20 74 | searchi|ng for t|
|00003590| 77 6f 20 6e 65 77 6c 69 | 6e 65 73 20 66 6f 6c 6c |wo newli|nes foll|
|000035a0| 6f 77 65 64 20 62 79 20 | 61 0a 6c 69 6e 65 20 74 |owed by |a.line t|
|000035b0| 68 61 74 20 62 65 67 69 | 6e 73 20 77 69 74 68 20 |hat begi|ns with |
|000035c0| 5c 22 46 72 6f 6d 20 5c | 22 2e 0a 0a 49 66 20 79 |\"From \|"...If y|
|000035d0| 6f 75 20 73 65 74 20 76 | 6d 2d 64 65 66 61 75 6c |ou set v|m-defaul|
|000035e0| 74 2d 66 6f 6c 64 65 72 | 2d 74 79 70 65 20 74 6f |t-folder|-type to|
|000035f0| 20 46 72 6f 6d 5f 2d 77 | 69 74 68 2d 43 6f 6e 74 | From_-w|ith-Cont|
|00003600| 65 6e 74 2d 4c 65 6e 67 | 74 68 20 79 6f 75 0a 6d |ent-Leng|th you.m|
|00003610| 75 73 74 20 73 65 74 20 | 74 68 69 73 20 76 61 72 |ust set |this var|
|00003620| 69 61 62 6c 65 20 6e 6f | 6e 2d 6e 69 6c 2e 22 29 |iable no|n-nil.")|
|00003630| 0a 28 64 65 66 76 61 72 | 20 76 6d 2d 76 69 73 69 |.(defvar| vm-visi|
|00003640| 62 6c 65 2d 68 65 61 64 | 65 72 73 20 27 28 22 52 |ble-head|ers '("R|
|00003650| 65 73 65 6e 74 2d 22 20 | 22 46 72 6f 6d 3a 22 20 |esent-" |"From:" |
|00003660| 22 53 65 6e 64 65 72 3a | 22 20 22 54 6f 3a 22 20 |"Sender:|" "To:" |
|00003670| 22 41 70 70 61 72 65 6e | 74 6c 79 2d 54 6f 3a 22 |"Apparen|tly-To:"|
|00003680| 20 22 43 63 3a 22 20 22 | 53 75 62 6a 65 63 74 3a | "Cc:" "|Subject:|
|00003690| 22 20 22 44 61 74 65 3a | 22 29 20 22 5c 0a 2a 4c |" "Date:|") "\.*L|
|000036a0| 69 73 74 20 6f 66 20 68 | 65 61 64 65 72 73 20 74 |ist of h|eaders t|
|000036b0| 68 61 74 20 73 68 6f 75 | 6c 64 20 62 65 20 76 69 |hat shou|ld be vi|
|000036c0| 73 69 62 6c 65 20 77 68 | 65 6e 20 56 4d 20 66 69 |sible wh|en VM fi|
|000036d0| 72 73 74 20 64 69 73 70 | 6c 61 79 73 20 61 20 6d |rst disp|lays a m|
|000036e0| 65 73 73 61 67 65 2e 0a | 54 68 65 73 65 20 73 68 |essage..|These sh|
|000036f0| 6f 75 6c 64 20 62 65 20 | 6c 69 73 74 65 64 20 69 |ould be |listed i|
|00003700| 6e 20 74 68 65 20 6f 72 | 64 65 72 20 79 6f 75 20 |n the or|der you |
|00003710| 77 69 73 68 20 74 68 65 | 6d 20 70 72 65 73 65 6e |wish the|m presen|
|00003720| 74 65 64 2e 0a 52 65 67 | 75 6c 61 72 20 65 78 70 |ted..Reg|ular exp|
|00003730| 72 65 73 73 69 6f 6e 73 | 20 61 72 65 20 61 6c 6c |ressions| are all|
|00003740| 6f 77 65 64 2e 20 20 54 | 68 65 72 65 27 73 20 6e |owed. T|here's n|
|00003750| 6f 20 6e 65 65 64 20 74 | 6f 20 61 6e 63 68 6f 72 |o need t|o anchor|
|00003760| 0a 70 61 74 74 65 72 6e | 73 20 77 69 74 68 20 5c |.pattern|s with \|
|00003770| 22 5e 5c 22 2c 20 61 73 | 20 73 65 61 72 63 68 65 |"^\", as| searche|
|00003780| 73 20 61 6c 77 61 79 73 | 20 73 74 61 72 74 20 61 |s always| start a|
|00003790| 74 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |t the be|ginning |
|000037a0| 6f 66 0a 61 20 6c 69 6e | 65 2e 20 20 50 75 74 20 |of.a lin|e. Put |
|000037b0| 61 20 63 6f 6c 6f 6e 20 | 61 74 20 74 68 65 20 65 |a colon |at the e|
|000037c0| 6e 64 20 6f 66 20 70 61 | 74 74 65 72 6e 73 20 74 |nd of pa|tterns t|
|000037d0| 6f 20 67 65 74 20 65 78 | 61 63 74 20 6d 61 74 63 |o get ex|act matc|
|000037e0| 68 65 73 2e 0a 46 6f 72 | 20 65 78 61 6d 70 6c 65 |hes..For| example|
|000037f0| 2c 20 5c 22 44 61 74 65 | 5c 22 20 6d 61 74 63 68 |, \"Date|\" match|
|00003800| 65 73 20 5c 22 44 61 74 | 65 5c 22 20 61 6e 64 20 |es \"Dat|e\" and |
|00003810| 5c 22 44 61 74 65 2d 53 | 65 6e 74 5c 22 2e 20 20 |\"Date-S|ent\". |
|00003820| 48 65 61 64 65 72 20 6e | 61 6d 65 73 0a 61 72 65 |Header n|ames.are|
|00003830| 20 61 6c 77 61 79 73 20 | 6d 61 74 63 68 65 64 20 | always |matched |
|00003840| 63 61 73 65 20 69 6e 73 | 65 6e 73 69 74 69 76 65 |case ins|ensitive|
|00003850| 6c 79 2e 0a 0a 49 66 20 | 74 68 65 20 76 61 6c 75 |ly...If |the valu|
|00003860| 65 20 6f 66 20 76 6d 2d | 69 6e 76 69 73 69 62 6c |e of vm-|invisibl|
|00003870| 65 2d 68 65 61 64 65 72 | 2d 72 65 67 65 78 70 20 |e-header|-regexp |
|00003880| 69 73 20 6e 69 6c 2c 20 | 6f 6e 6c 79 20 74 68 65 |is nil, |only the|
|00003890| 0a 68 65 61 64 65 72 73 | 20 6d 61 74 63 68 65 64 |.headers| matched|
|000038a0| 20 62 79 20 76 6d 2d 76 | 69 73 69 62 6c 65 2d 68 | by vm-v|isible-h|
|000038b0| 65 61 64 65 72 73 20 77 | 69 6c 6c 20 62 65 20 64 |eaders w|ill be d|
|000038c0| 69 73 70 6c 61 79 65 64 | 2e 0a 4f 74 68 65 72 77 |isplayed|..Otherw|
|000038d0| 69 73 65 20 61 6c 6c 20 | 68 65 61 64 65 72 73 20 |ise all |headers |
|000038e0| 61 72 65 20 64 69 73 70 | 6c 61 79 65 64 20 65 78 |are disp|layed ex|
|000038f0| 63 65 70 74 20 74 68 6f | 73 65 20 6d 61 74 63 68 |cept tho|se match|
|00003900| 65 64 20 62 79 0a 76 6d | 2d 69 6e 76 69 73 69 62 |ed by.vm|-invisib|
|00003910| 6c 65 2d 68 65 61 64 65 | 72 2d 72 65 67 65 78 70 |le-heade|r-regexp|
|00003920| 2e 20 20 49 6e 20 74 68 | 69 73 20 63 61 73 65 20 |. In th|is case |
|00003930| 76 6d 2d 76 69 73 69 62 | 6c 65 2d 68 65 61 64 65 |vm-visib|le-heade|
|00003940| 72 73 0a 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |rs.speci|fies the|
|00003950| 20 6f 72 64 65 72 20 69 | 6e 20 77 68 69 63 68 20 | order i|n which |
|00003960| 68 65 61 64 65 72 73 20 | 61 72 65 20 64 69 73 70 |headers |are disp|
|00003970| 6c 61 79 65 64 2e 20 20 | 48 65 61 64 65 72 73 20 |layed. |Headers |
|00003980| 6e 6f 74 0a 6d 61 74 63 | 68 69 6e 67 20 76 6d 2d |not.matc|hing vm-|
|00003990| 76 69 73 69 62 6c 65 2d | 68 65 61 64 65 72 73 20 |visible-|headers |
|000039a0| 61 72 65 20 64 69 73 70 | 6c 61 79 20 6c 61 73 74 |are disp|lay last|
|000039b0| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 76 6d 2d 69 |.").(def|var vm-i|
|000039c0| 6e 76 69 73 69 62 6c 65 | 2d 68 65 61 64 65 72 2d |nvisible|-header-|
|000039d0| 72 65 67 65 78 70 20 6e | 69 6c 20 22 5c 0a 2a 4e |regexp n|il "\.*N|
|000039e0| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 20 73 68 6f |on-nil v|alue sho|
|000039f0| 75 6c 64 20 62 65 20 61 | 20 72 65 67 75 6c 61 72 |uld be a| regular|
|00003a00| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 68 61 74 | express|ion that|
|00003a10| 20 74 65 6c 6c 73 20 77 | 68 61 74 20 68 65 61 64 | tells w|hat head|
|00003a20| 65 72 73 0a 56 4d 20 73 | 68 6f 75 6c 64 20 4e 4f |ers.VM s|hould NO|
|00003a30| 54 20 6e 6f 72 6d 61 6c | 6c 79 20 64 69 73 70 6c |T normal|ly displ|
|00003a40| 61 79 20 77 68 65 6e 20 | 70 72 65 73 65 6e 74 69 |ay when |presenti|
|00003a50| 6e 67 20 61 20 6d 65 73 | 73 61 67 65 2e 20 20 41 |ng a mes|sage. A|
|00003a60| 6c 6c 20 6f 74 68 65 72 | 0a 68 65 61 64 65 72 73 |ll other|.headers|
|00003a70| 20 77 69 6c 6c 20 62 65 | 20 64 69 73 70 6c 61 79 | will be| display|
|00003a80| 65 64 2e 20 20 54 68 65 | 20 76 61 72 69 61 62 6c |ed. The| variabl|
|00003a90| 65 20 76 6d 2d 76 69 73 | 69 62 6c 65 2d 68 65 61 |e vm-vis|ible-hea|
|00003aa0| 64 65 72 73 20 73 70 65 | 63 69 66 69 65 73 0a 74 |ders spe|cifies.t|
|00003ab0| 68 65 20 70 72 65 73 65 | 6e 74 61 74 69 6f 6e 20 |he prese|ntation |
|00003ac0| 6f 72 64 65 72 20 6f 66 | 20 68 65 61 64 65 72 73 |order of| headers|
|00003ad0| 3b 20 68 65 61 64 65 72 | 73 20 6e 6f 74 20 6d 61 |; header|s not ma|
|00003ae0| 74 63 68 65 64 20 62 79 | 0a 76 6d 2d 76 69 73 69 |tched by|.vm-visi|
|00003af0| 62 6c 65 2d 68 65 61 64 | 65 72 73 20 61 72 65 20 |ble-head|ers are |
|00003b00| 64 69 73 70 6c 61 79 65 | 64 20 6c 61 73 74 2e 0a |displaye|d last..|
|00003b10| 0a 4e 69 6c 20 76 61 6c | 75 65 20 63 61 75 73 65 |.Nil val|ue cause|
|00003b20| 73 20 56 4d 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |s VM to |display |
|00003b30| 4f 4e 4c 59 20 74 68 6f | 73 65 20 68 65 61 64 65 |ONLY tho|se heade|
|00003b40| 72 73 20 73 70 65 63 69 | 66 69 65 64 20 69 6e 0a |rs speci|fied in.|
|00003b50| 76 6d 2d 76 69 73 69 62 | 6c 65 2d 68 65 61 64 65 |vm-visib|le-heade|
|00003b60| 72 73 2e 22 29 0a 28 64 | 65 66 76 61 72 20 76 6d |rs.").(d|efvar vm|
|00003b70| 2d 68 69 67 68 6c 69 67 | 68 74 65 64 2d 68 65 61 |-highlig|hted-hea|
|00003b80| 64 65 72 2d 72 65 67 65 | 78 70 20 6e 69 6c 20 22 |der-rege|xp nil "|
|00003b90| 5c 0a 2a 56 61 6c 75 65 | 20 73 70 65 63 69 66 69 |\.*Value| specifi|
|00003ba0| 65 73 20 77 68 69 63 68 | 20 68 65 61 64 65 72 73 |es which| headers|
|00003bb0| 20 74 6f 20 68 69 67 68 | 6c 69 67 68 74 2e 0a 54 | to high|light..T|
|00003bc0| 68 69 73 20 69 73 20 61 | 20 72 65 67 75 6c 61 72 |his is a| regular|
|00003bd0| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 74 68 61 74 | express|ion that|
|00003be0| 20 6d 61 74 63 68 65 73 | 20 74 68 65 20 6e 61 6d | matches| the nam|
|00003bf0| 65 73 20 6f 66 20 68 65 | 61 64 65 72 73 20 74 68 |es of he|aders th|
|00003c00| 61 74 20 73 68 6f 75 6c | 64 0a 62 65 20 68 69 67 |at shoul|d.be hig|
|00003c10| 68 6c 69 67 68 74 65 64 | 20 77 68 65 6e 20 61 20 |hlighted| when a |
|00003c20| 6d 65 73 73 61 67 65 20 | 69 73 20 66 69 72 73 74 |message |is first|
|00003c30| 20 70 72 65 73 65 6e 74 | 65 64 2e 20 20 46 6f 72 | present|ed. For|
|00003c40| 20 65 78 61 6d 70 6c 65 | 20 73 65 74 74 69 6e 67 | example| setting|
|00003c50| 0a 74 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 74 |.this va|riable t|
|00003c60| 6f 20 5c 22 46 72 6f 6d | 3a 5c 5c 5c 5c 7c 53 75 |o \"From|:\\\\|Su|
|00003c70| 62 6a 65 63 74 3a 5c 22 | 20 63 61 75 73 65 73 20 |bject:\"| causes |
|00003c80| 74 68 65 20 46 72 6f 6d | 20 61 6e 64 20 53 75 62 |the From| and Sub|
|00003c90| 6a 65 63 74 0a 68 65 61 | 64 65 72 73 20 74 6f 20 |ject.hea|ders to |
|00003ca0| 62 65 20 68 69 67 68 6c | 69 67 68 74 65 64 2e 0a |be highl|ighted..|
|00003cb0| 0a 54 68 69 73 20 64 6f | 65 73 20 6e 6f 74 20 77 |.This do|es not w|
|00003cc0| 6f 72 6b 20 75 6e 64 65 | 72 20 76 65 72 73 69 6f |ork unde|r versio|
|00003cd0| 6e 20 31 38 20 45 6d 61 | 63 73 2e 0a 0a 49 66 20 |n 18 Ema|cs...If |
|00003ce0| 79 6f 75 27 72 65 20 75 | 73 69 6e 67 20 58 45 6d |you're u|sing XEm|
|00003cf0| 61 63 73 2c 20 79 6f 75 | 20 6d 69 67 68 74 20 77 |acs, you| might w|
|00003d00| 61 6e 74 20 74 6f 20 75 | 73 65 20 74 68 65 20 62 |ant to u|se the b|
|00003d10| 75 69 6c 74 69 6e 0a 60 | 68 69 67 68 6c 69 67 68 |uiltin.`|highligh|
|00003d20| 74 2d 68 65 61 64 65 72 | 73 27 20 70 61 63 6b 61 |t-header|s' packa|
|00003d30| 67 65 20 69 6e 73 74 65 | 61 64 2e 20 20 49 66 20 |ge inste|ad. If |
|00003d40| 73 6f 2c 20 74 68 65 6e | 20 79 6f 75 20 73 68 6f |so, then| you sho|
|00003d50| 75 6c 64 20 73 65 74 0a | 74 68 65 20 76 61 72 69 |uld set.|the vari|
|00003d60| 61 62 6c 65 20 76 6d 2d | 75 73 65 2d 6c 75 63 69 |able vm-|use-luci|
|00003d70| 64 2d 68 69 67 68 6c 69 | 67 68 74 69 6e 67 20 6e |d-highli|ghting n|
|00003d80| 6f 6e 2d 6e 69 6c 2e 20 | 20 59 6f 75 27 6c 6c 20 |on-nil. | You'll |
|00003d90| 6e 65 65 64 20 74 6f 0a | 73 65 74 20 74 68 65 20 |need to.|set the |
|00003da0| 76 61 72 69 6f 75 73 20 | 76 61 72 69 61 62 6c 65 |various |variable|
|00003db0| 73 20 75 73 65 64 20 62 | 79 20 74 68 65 20 68 69 |s used b|y the hi|
|00003dc0| 67 68 6c 69 67 68 74 2d | 68 65 61 64 65 72 73 20 |ghlight-|headers |
|00003dd0| 70 61 63 6b 61 67 65 0a | 74 6f 20 63 75 73 74 6f |package.|to custo|
|00003de0| 6d 69 7a 65 20 68 69 67 | 68 6c 69 67 68 74 69 6e |mize hig|hlightin|
|00003df0| 67 2e 20 20 76 6d 2d 68 | 69 67 68 6c 69 67 68 74 |g. vm-h|ighlight|
|00003e00| 65 64 2d 68 65 61 64 65 | 72 2d 72 65 67 65 78 70 |ed-heade|r-regexp|
|00003e10| 20 69 73 0a 69 67 6e 6f | 72 65 64 20 69 6e 20 74 | is.igno|red in t|
|00003e20| 68 69 73 20 63 61 73 65 | 2e 22 29 0a 28 64 65 66 |his case|.").(def|
|00003e30| 76 61 72 20 76 6d 2d 75 | 73 65 2d 6c 75 63 69 64 |var vm-u|se-lucid|
|00003e40| 2d 68 69 67 68 6c 69 67 | 68 74 69 6e 67 20 28 62 |-highlig|hting (b|
|00003e50| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 5c 6e 5c 22 |yte-code| "..\n\"|
|00003e60| 3f 3f 87 22 20 5b 73 74 | 72 69 6e 67 2d 6d 61 74 |??." [st|ring-mat|
|00003e70| 63 68 20 22 58 45 6d 61 | 63 73 22 20 65 6d 61 63 |ch "XEma|cs" emac|
|00003e80| 73 2d 76 65 72 73 69 6f | 6e 5d 20 33 29 20 22 5c |s-versio|n] 3) "\|
|00003e90| 0a 2a 4e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |.*Non-ni|l means |
|00003ea0| 74 6f 20 75 73 65 20 74 | 68 65 20 60 68 69 67 68 |to use t|he `high|
|00003eb0| 6c 69 67 68 74 2d 68 65 | 61 64 65 72 73 27 20 70 |light-he|aders' p|
|00003ec0| 61 63 6b 61 67 65 20 69 | 6e 20 58 45 6d 61 63 73 |ackage i|n XEmacs|
|00003ed0| 2e 0a 4e 69 6c 20 6d 65 | 61 6e 73 20 6a 75 73 74 |..Nil me|ans just|
|00003ee0| 20 75 73 65 20 56 4d 27 | 73 20 62 75 69 6c 74 69 | use VM'|s builti|
|00003ef0| 6e 20 68 65 61 64 65 72 | 20 68 69 67 68 6c 69 67 |n header| highlig|
|00003f00| 68 74 69 6e 67 20 63 6f | 64 65 2e 0a 0a 46 53 46 |hting co|de...FSF|
|00003f10| 20 45 6d 61 63 73 20 61 | 6c 77 61 79 73 20 75 73 | Emacs a|lways us|
|00003f20| 65 73 20 56 4d 27 73 20 | 62 75 69 6c 74 69 6e 20 |es VM's |builtin |
|00003f30| 68 69 67 68 6c 69 67 68 | 74 69 6e 67 20 63 6f 64 |highligh|ting cod|
|00003f40| 65 2e 22 29 0a 28 64 65 | 66 76 61 72 20 76 6d 2d |e.").(de|fvar vm-|
|00003f50| 68 69 67 68 6c 69 67 68 | 74 65 64 2d 68 65 61 64 |highligh|ted-head|
|00003f60| 65 72 2d 66 61 63 65 20 | 27 62 6f 6c 64 20 22 5c |er-face |'bold "\|
|00003f70| 0a 2a 46 61 63 65 20 74 | 6f 20 62 65 20 75 73 65 |.*Face t|o be use|
|00003f80| 64 20 74 6f 20 68 69 67 | 68 6c 69 67 68 74 20 68 |d to hig|hlight h|
|00003f90| 65 61 64 65 72 73 2e 0a | 54 68 65 20 68 65 61 64 |eaders..|The head|
|00003fa0| 65 72 73 20 74 6f 20 68 | 69 67 68 6c 69 67 68 74 |ers to h|ighlight|
|00003fb0| 20 61 72 65 20 73 70 65 | 63 69 66 69 65 64 20 62 | are spe|cified b|
|00003fc0| 79 20 74 68 65 20 76 6d | 2d 68 69 67 68 6c 69 67 |y the vm|-highlig|
|00003fd0| 68 74 65 64 2d 68 65 61 | 64 65 72 2d 72 65 67 65 |hted-hea|der-rege|
|00003fe0| 78 70 0a 76 61 72 69 61 | 62 6c 65 2e 0a 0a 54 68 |xp.varia|ble...Th|
|00003ff0| 69 73 20 76 61 72 69 61 | 62 6c 65 20 69 73 20 69 |is varia|ble is i|
|00004000| 67 6e 6f 72 65 64 20 75 | 6e 64 65 72 20 58 45 6d |gnored u|nder XEm|
|00004010| 61 63 73 20 69 66 20 76 | 6d 2d 75 73 65 2d 6c 75 |acs if v|m-use-lu|
|00004020| 63 69 64 2d 68 69 67 68 | 6c 69 67 68 74 69 6e 67 |cid-high|lighting|
|00004030| 20 69 73 0a 6e 69 6c 2e | 20 20 58 45 6d 61 63 73 | is.nil.| XEmacs|
|00004040| 27 20 68 69 67 68 6c 69 | 67 68 74 2d 68 65 61 64 |' highli|ght-head|
|00004050| 65 72 73 20 70 61 63 6b | 61 67 65 20 69 73 20 75 |ers pack|age is u|
|00004060| 73 65 64 20 69 6e 73 74 | 65 61 64 2e 20 20 53 65 |sed inst|ead. Se|
|00004070| 65 20 74 68 65 0a 64 6f | 63 75 6d 65 6e 74 61 74 |e the.do|cumentat|
|00004080| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 66 75 6e 63 |ion for |the func|
|00004090| 74 69 6f 6e 20 60 68 69 | 67 68 6c 69 67 68 74 2d |tion `hi|ghlight-|
|000040a0| 68 65 61 64 65 72 73 27 | 20 74 6f 20 66 69 6e 64 |headers'| to find|
|000040b0| 20 6f 75 74 20 68 6f 77 | 20 74 6f 0a 63 75 73 74 | out how| to.cust|
|000040c0| 6f 6d 69 7a 65 20 68 65 | 61 64 65 72 20 68 69 67 |omize he|ader hig|
|000040d0| 68 6c 69 67 68 74 69 6e | 67 20 75 73 69 6e 67 20 |hlightin|g using |
|000040e0| 74 68 69 73 20 70 61 63 | 6b 61 67 65 2e 22 29 0a |this pac|kage.").|
|000040f0| 28 64 65 66 76 61 72 20 | 76 6d 2d 70 72 65 76 69 |(defvar |vm-previ|
|00004100| 65 77 2d 6c 69 6e 65 73 | 20 30 20 22 5c 0a 2a 4e |ew-lines| 0 "\.*N|
|00004110| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 20 4e 20 63 |on-nil v|alue N c|
|00004120| 61 75 73 65 73 20 56 4d | 20 74 6f 20 64 69 73 70 |auses VM| to disp|
|00004130| 6c 61 79 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |lay the |visible |
|00004140| 68 65 61 64 65 72 73 20 | 2b 20 4e 20 6c 69 6e 65 |headers |+ N line|
|00004150| 73 20 6f 66 20 74 65 78 | 74 0a 6f 66 20 61 20 6d |s of tex|t.of a m|
|00004160| 65 73 73 61 67 65 20 77 | 68 65 6e 20 69 74 20 69 |essage w|hen it i|
|00004170| 73 20 66 69 72 73 74 20 | 70 72 65 73 65 6e 74 65 |s first |presente|
|00004180| 64 2e 20 20 54 68 65 20 | 6d 65 73 73 61 67 65 20 |d. The |message |
|00004190| 69 73 20 6e 6f 74 20 61 | 63 74 75 61 6c 6c 79 0a |is not a|ctually.|
|000041a0| 66 6c 61 67 67 65 64 20 | 61 73 20 72 65 61 64 20 |flagged |as read |
|000041b0| 75 6e 74 69 6c 20 69 74 | 20 69 73 20 65 78 70 6f |until it| is expo|
|000041c0| 73 65 64 20 69 6e 20 69 | 74 73 20 65 6e 74 69 72 |sed in i|ts entir|
|000041d0| 65 74 79 2e 0a 0a 41 20 | 76 61 6c 75 65 20 6f 66 |ety...A |value of|
|000041e0| 20 74 20 63 61 75 73 65 | 73 20 56 4d 20 74 6f 20 | t cause|s VM to |
|000041f0| 64 69 73 70 6c 61 79 20 | 61 73 20 6d 75 63 68 20 |display |as much |
|00004200| 6f 66 20 74 68 65 20 6d | 65 73 73 61 67 65 20 61 |of the m|essage a|
|00004210| 73 20 77 69 6c 6c 0a 66 | 69 74 20 69 6e 20 74 68 |s will.f|it in th|
|00004220| 65 20 77 69 6e 64 6f 77 | 20 61 73 73 6f 63 69 61 |e window| associa|
|00004230| 74 65 64 20 77 69 74 68 | 20 74 68 65 20 66 6f 6c |ted with| the fol|
|00004240| 64 65 72 20 62 75 66 66 | 65 72 2e 0a 0a 41 20 6e |der buff|er...A n|
|00004250| 69 6c 20 76 61 6c 75 65 | 20 63 61 75 73 65 73 20 |il value| causes |
|00004260| 56 4d 20 6e 6f 74 20 74 | 6f 20 70 72 65 76 69 65 |VM not t|o previe|
|00004270| 77 20 6d 65 73 73 61 67 | 65 73 3b 20 6e 6f 20 74 |w messag|es; no t|
|00004280| 65 78 74 20 6c 69 6e 65 | 73 20 61 72 65 20 68 69 |ext line|s are hi|
|00004290| 64 64 65 6e 20 61 6e 64 | 20 0a 6d 65 73 73 61 67 |dden and| .messag|
|000042a0| 65 73 20 61 72 65 20 69 | 6d 6d 65 64 69 61 74 65 |es are i|mmediate|
|000042b0| 6c 79 20 66 6c 61 67 67 | 65 64 20 61 73 20 72 65 |ly flagg|ed as re|
|000042c0| 61 64 2e 22 29 0a 28 64 | 65 66 76 61 72 20 76 6d |ad.").(d|efvar vm|
|000042d0| 2d 70 72 65 76 69 65 77 | 2d 72 65 61 64 2d 6d 65 |-preview|-read-me|
|000042e0| 73 73 61 67 65 73 20 6e | 69 6c 20 22 5c 0a 2a 4e |ssages n|il "\.*N|
|000042f0| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 20 6d 65 61 |on-nil v|alue mea|
|00004300| 6e 73 20 74 6f 20 70 72 | 65 76 69 65 77 20 6d 65 |ns to pr|eview me|
|00004310| 73 73 61 67 65 73 20 65 | 76 65 6e 20 69 66 20 74 |ssages e|ven if t|
|00004320| 68 65 79 27 76 65 20 61 | 6c 72 65 61 64 79 20 62 |hey've a|lready b|
|00004330| 65 65 6e 20 72 65 61 64 | 2e 0a 41 20 6e 69 6c 20 |een read|..A nil |
|00004340| 76 61 6c 75 65 20 63 61 | 75 73 65 73 20 56 4d 20 |value ca|uses VM |
|00004350| 74 6f 20 70 72 65 76 69 | 65 77 20 6d 65 73 73 61 |to previ|ew messa|
|00004360| 67 65 73 20 6f 6e 6c 79 | 20 69 66 20 6e 65 77 20 |ges only| if new |
|00004370| 6f 72 20 75 6e 72 65 61 | 64 2e 22 29 0a 28 64 65 |or unrea|d.").(de|
|00004380| 66 76 61 72 20 76 6d 2d | 64 69 73 70 6c 61 79 2d |fvar vm-|display-|
|00004390| 75 73 69 6e 67 2d 6d 69 | 6d 65 20 74 20 22 5c 0a |using-mi|me t "\.|
|000043a0| 2a 4e 6f 6e 2d 6e 69 6c | 20 76 61 6c 75 65 20 6d |*Non-nil| value m|
|000043b0| 65 61 6e 73 20 56 4d 20 | 73 68 6f 75 6c 64 20 64 |eans VM |should d|
|000043c0| 69 73 70 6c 61 79 20 6d | 65 73 73 61 67 65 73 20 |isplay m|essages |
|000043d0| 75 73 69 6e 67 20 4d 49 | 4d 45 2e 0a 4d 49 4d 45 |using MI|ME..MIME|
|000043e0| 20 28 4d 75 6c 74 69 70 | 75 72 70 6f 73 65 20 49 | (Multip|urpose I|
|000043f0| 6e 74 65 72 6e 65 74 20 | 4d 61 69 6c 20 45 78 74 |nternet |Mail Ext|
|00004400| 65 6e 73 69 6f 6e 73 29 | 20 69 73 20 61 20 73 65 |ensions)| is a se|
|00004410| 74 20 6f 66 0a 65 78 74 | 65 6e 73 69 6f 6e 73 20 |t of.ext|ensions |
|00004420| 74 6f 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |to the s|tandard |
|00004430| 49 6e 74 65 72 6e 65 74 | 20 6d 65 73 73 61 67 65 |Internet| message|
|00004440| 20 66 6f 72 6d 61 74 20 | 74 68 61 74 20 61 6c 6c | format |that all|
|00004450| 6f 77 73 0a 72 65 6c 69 | 61 62 6c 65 20 74 72 61 |ows.reli|able tra|
|00004460| 6e 6d 69 73 73 69 6f 6e | 20 61 6e 64 20 72 65 63 |nmission| and rec|
|00004470| 65 70 74 69 6f 6e 20 6f | 66 20 61 72 62 69 74 72 |eption o|f arbitr|
|00004480| 61 72 79 20 64 61 74 61 | 20 69 6e 63 6c 75 64 69 |ary data| includi|
|00004490| 6e 67 0a 69 6d 61 67 65 | 73 2c 20 61 75 64 69 6f |ng.image|s, audio|
|000044a0| 20 61 6e 64 20 76 69 64 | 65 6f 20 61 73 20 77 65 | and vid|eo as we|
|000044b0| 6c 6c 20 61 73 20 6f 72 | 64 69 6e 61 72 79 20 74 |ll as or|dinary t|
|000044c0| 65 78 74 2e 0a 0a 41 20 | 6e 6f 6e 2d 6e 69 6c 20 |ext...A |non-nil |
|000044d0| 76 61 6c 75 65 20 66 6f | 72 20 74 68 69 73 20 76 |value fo|r this v|
|000044e0| 61 72 69 61 62 6c 65 20 | 6d 65 61 6e 73 20 74 68 |ariable |means th|
|000044f0| 61 74 20 56 4d 20 77 69 | 6c 6c 20 72 65 63 6f 67 |at VM wi|ll recog|
|00004500| 6e 69 7a 65 0a 4d 49 4d | 45 20 65 6e 63 6f 64 65 |nize.MIM|E encode|
|00004510| 64 20 6d 65 73 73 61 67 | 65 73 20 61 6e 64 20 64 |d messag|es and d|
|00004520| 69 73 70 6c 61 79 20 74 | 68 65 6d 20 61 73 20 73 |isplay t|hem as s|
|00004530| 70 65 63 69 66 69 65 64 | 20 62 79 20 74 68 65 0a |pecified| by the.|
|00004540| 76 61 72 69 6f 75 73 20 | 4d 49 4d 45 20 73 74 61 |various |MIME sta|
|00004550| 6e 64 61 72 64 73 20 73 | 70 65 63 69 66 69 63 61 |ndards s|pecifica|
|00004560| 74 69 6f 6e 73 2e 0a 0a | 41 20 6e 69 6c 20 76 61 |tions...|A nil va|
|00004570| 6c 75 65 20 6d 65 61 6e | 73 20 56 4d 20 77 69 6c |lue mean|s VM wil|
|00004580| 6c 20 6e 6f 74 20 64 69 | 73 70 6c 61 79 20 4d 49 |l not di|splay MI|
|00004590| 4d 45 20 6d 65 73 73 61 | 67 65 73 20 61 6e 79 0a |ME messa|ges any.|
|000045a0| 64 69 66 66 65 72 65 6e | 74 6c 79 20 74 68 61 6e |differen|tly than|
|000045b0| 20 61 6e 79 20 6f 74 68 | 65 72 20 6d 65 73 73 61 | any oth|er messa|
|000045c0| 67 65 2e 22 29 0a 28 64 | 65 66 76 61 72 20 76 6d |ge.").(d|efvar vm|
|000045d0| 2d 6d 69 6d 65 2d 69 67 | 6e 6f 72 65 2d 6d 69 6d |-mime-ig|nore-mim|
|000045e0| 65 2d 76 65 72 73 69 6f | 6e 20 74 20 22 5c 0a 2a |e-versio|n t "\.*|
|000045f0| 4e 6f 6e 2d 6e 69 6c 20 | 76 61 6c 75 65 20 6d 65 |Non-nil |value me|
|00004600| 61 6e 73 20 69 67 6e 6f | 72 65 20 74 68 65 20 76 |ans igno|re the v|
|00004610| 65 72 73 69 6f 6e 20 6e | 75 6d 62 65 72 20 69 6e |ersion n|umber in|
|00004620| 20 74 68 65 20 4d 49 4d | 45 2d 56 65 72 73 69 6f | the MIM|E-Versio|
|00004630| 6e 0a 68 65 61 64 65 72 | 2e 20 20 56 4d 20 6f 6e |n.header|. VM on|
|00004640| 6c 79 20 6b 6e 6f 77 73 | 20 68 6f 77 20 74 6f 20 |ly knows| how to |
|00004650| 64 65 63 6f 64 65 20 61 | 6e 64 20 64 69 73 70 6c |decode a|nd displ|
|00004660| 61 79 20 4d 49 4d 45 20 | 76 65 72 73 69 6f 6e 20 |ay MIME |version |
|00004670| 31 2e 30 0a 6d 65 73 73 | 61 67 65 73 2e 20 20 53 |1.0.mess|ages. S|
|00004680| 6f 6d 65 20 73 79 73 74 | 65 6d 73 20 73 63 72 61 |ome syst|ems scra|
|00004690| 6d 62 6c 65 20 74 68 65 | 20 4d 49 4d 45 2d 56 65 |mble the| MIME-Ve|
|000046a0| 72 73 69 6f 6e 20 68 65 | 61 64 65 72 2c 20 63 61 |rsion he|ader, ca|
|000046b0| 75 73 69 6e 67 0a 56 4d | 20 74 6f 20 62 65 6c 69 |using.VM| to beli|
|000046c0| 65 76 65 20 74 68 61 74 | 20 69 74 20 63 61 6e 6e |eve that| it cann|
|000046d0| 6f 74 20 64 69 73 70 6c | 61 79 20 61 20 6d 65 73 |ot displ|ay a mes|
|000046e0| 73 61 67 65 20 74 68 61 | 74 20 69 74 20 61 63 74 |sage tha|t it act|
|000046f0| 75 61 6c 6c 79 0a 63 61 | 6e 20 64 69 73 70 6c 61 |ually.ca|n displa|
|00004700| 79 2e 20 20 59 6f 75 20 | 63 61 6e 20 73 65 74 20 |y. You |can set |
|00004710| 76 6d 2d 6d 69 6d 65 2d | 69 67 6e 6f 72 65 2d 6d |vm-mime-|ignore-m|
|00004720| 69 6d 65 2d 76 65 72 73 | 69 6f 6e 20 6e 6f 6e 2d |ime-vers|ion non-|
|00004730| 6e 69 6c 20 69 66 0a 79 | 6f 75 20 75 73 65 20 73 |nil if.y|ou use s|
|00004740| 75 63 68 20 73 79 73 74 | 65 6d 73 2e 22 29 0a 28 |uch syst|ems.").(|
|00004750| 64 65 66 76 61 72 20 76 | 6d 2d 73 65 6e 64 2d 75 |defvar v|m-send-u|
|00004760| 73 69 6e 67 2d 6d 69 6d | 65 20 28 62 79 74 65 2d |sing-mim|e (byte-|
|00004770| 63 6f 64 65 20 22 c0 c1 | 21 3f 87 22 20 5b 66 65 |code "..|!?." [fe|
|00004780| 61 74 75 72 65 70 20 6d | 69 6d 65 2d 73 65 74 75 |aturep m|ime-setu|
|00004790| 70 5d 20 32 29 20 22 5c | 0a 2a 4e 6f 6e 2d 6e 69 |p] 2) "\|.*Non-ni|
|000047a0| 6c 20 76 61 6c 75 65 20 | 6d 65 61 6e 73 20 56 4d |l value |means VM|
|000047b0| 20 73 68 6f 75 6c 64 20 | 73 75 70 70 6f 72 74 20 | should |support |
|000047c0| 73 65 6e 64 69 6e 67 20 | 6d 65 73 73 61 67 65 73 |sending |messages|
|000047d0| 20 75 73 69 6e 67 20 4d | 49 4d 45 2e 0a 4d 49 4d | using M|IME..MIM|
|000047e0| 45 20 28 4d 75 6c 74 69 | 70 75 72 70 6f 73 65 20 |E (Multi|purpose |
|000047f0| 49 6e 74 65 72 6e 65 74 | 20 4d 61 69 6c 20 45 78 |Internet| Mail Ex|
|00004800| 74 65 6e 73 69 6f 6e 73 | 29 20 69 73 20 61 20 73 |tensions|) is a s|
|00004810| 65 74 20 6f 66 0a 65 78 | 74 65 6e 73 69 6f 6e 73 |et of.ex|tensions|
|00004820| 20 74 6f 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | to the |standard|
|00004830| 20 49 6e 74 65 72 6e 65 | 74 20 6d 65 73 73 61 67 | Interne|t messag|
|00004840| 65 20 66 6f 72 6d 61 74 | 20 74 68 61 74 20 61 6c |e format| that al|
|00004850| 6c 6f 77 73 0a 72 65 6c | 69 61 62 6c 65 20 74 72 |lows.rel|iable tr|
|00004860| 61 6e 6d 69 73 73 69 6f | 6e 20 61 6e 64 20 72 65 |anmissio|n and re|
|00004870| 63 65 70 74 69 6f 6e 20 | 6f 66 20 61 72 62 69 74 |ception |of arbit|
|00004880| 72 61 72 79 20 64 61 74 | 61 20 69 6e 63 6c 75 64 |rary dat|a includ|
|00004890| 69 6e 67 0a 69 6d 61 67 | 65 73 2c 20 61 75 64 69 |ing.imag|es, audi|
|000048a0| 6f 20 61 6e 64 20 76 69 | 64 65 6f 20 61 73 20 77 |o and vi|deo as w|
|000048b0| 65 6c 6c 20 61 73 20 74 | 72 61 64 69 74 69 6f 6e |ell as t|radition|
|000048c0| 61 6c 20 74 65 78 74 2e | 0a 0a 41 20 6e 6f 6e 2d |al text.|..A non-|
|000048d0| 6e 69 6c 20 76 61 6c 75 | 65 20 66 6f 72 20 74 68 |nil valu|e for th|
|000048e0| 69 73 20 76 61 72 69 61 | 62 6c 65 20 6d 65 61 6e |is varia|ble mean|
|000048f0| 73 20 74 68 61 74 20 56 | 4d 20 77 69 6c 6c 0a 0a |s that V|M will..|
|00004900| 20 20 2d 20 61 6c 6c 6f | 77 20 79 6f 75 20 74 6f | - allo|w you to|
|00004910| 20 61 74 74 61 63 68 20 | 66 69 6c 65 73 20 61 6e | attach |files an|
|00004920| 64 20 6d 65 73 73 61 67 | 65 73 20 74 6f 20 79 6f |d messag|es to yo|
|00004930| 75 72 20 6f 75 74 62 6f | 75 6e 64 20 6d 65 73 73 |ur outbo|und mess|
|00004940| 61 67 65 2e 0a 20 20 2d | 20 61 6e 61 6c 79 7a 65 |age.. -| analyze|
|00004950| 20 74 68 65 20 63 6f 6d | 70 6f 73 69 74 69 6f 6e | the com|position|
|00004960| 20 62 75 66 66 65 72 20 | 77 68 65 6e 20 79 6f 75 | buffer |when you|
|00004970| 20 73 65 6e 64 20 6f 66 | 66 20 61 20 6d 65 73 73 | send of|f a mess|
|00004980| 61 67 65 20 61 6e 64 0a | 20 20 20 20 65 6e 63 6f |age and.| enco|
|00004990| 64 65 20 69 74 20 61 73 | 20 6e 65 65 64 65 64 2e |de it as| needed.|
|000049a0| 0a 0a 41 20 6e 69 6c 20 | 76 61 6c 75 65 20 6d 65 |..A nil |value me|
|000049b0| 61 6e 73 20 56 4d 20 77 | 69 6c 6c 20 6e 6f 74 20 |ans VM w|ill not |
|000049c0| 6f 66 66 65 72 20 61 6e | 79 20 73 75 70 70 6f 72 |offer an|y suppor|
|000049d0| 74 20 66 6f 72 20 63 6f | 6d 70 6f 73 69 6e 67 0a |t for co|mposing.|
|000049e0| 4d 49 4d 45 20 6d 65 73 | 73 61 67 65 73 2e 22 29 |MIME mes|sages.")|
|000049f0| 0a 28 64 65 66 76 61 72 | 20 76 6d 2d 68 6f 6e 6f |.(defvar| vm-hono|
|00004a00| 72 2d 6d 69 6d 65 2d 63 | 6f 6e 74 65 6e 74 2d 64 |r-mime-c|ontent-d|
|00004a10| 69 73 70 6f 73 69 74 69 | 6f 6e 20 6e 69 6c 20 22 |ispositi|on nil "|
|00004a20| 5c 0a 2a 4e 6f 6e 2d 6e | 69 6c 20 76 61 6c 75 65 |\.*Non-n|il value|
|00004a30| 20 6d 65 61 6e 73 20 75 | 73 65 20 69 6e 66 6f 72 | means u|se infor|
|00004a40| 6d 61 74 69 6f 6e 20 66 | 72 6f 6d 20 74 68 65 20 |mation f|rom the |
|00004a50| 43 6f 6e 74 65 6e 74 2d | 44 69 73 70 6f 73 69 74 |Content-|Disposit|
|00004a60| 69 6f 6e 20 68 65 61 64 | 65 72 0a 74 6f 20 64 69 |ion head|er.to di|
|00004a70| 73 70 6c 61 79 20 4d 49 | 4d 45 20 6d 65 73 73 61 |splay MI|ME messa|
|00004a80| 67 65 73 2e 20 20 54 68 | 65 20 43 6f 6e 74 65 6e |ges. Th|e Conten|
|00004a90| 74 2d 44 69 73 70 6f 73 | 69 74 69 6f 6e 20 68 65 |t-Dispos|ition he|
|00004aa0| 61 64 65 72 0a 73 70 65 | 63 69 66 69 65 73 20 77 |ader.spe|cifies w|
|00004ab0| 68 65 74 68 65 72 20 61 | 20 4d 49 4d 45 20 6f 62 |hether a| MIME ob|
|00004ac0| 6a 65 63 74 20 73 68 6f | 75 6c 64 20 62 65 20 64 |ject sho|uld be d|
|00004ad0| 69 73 70 6c 61 79 65 64 | 20 69 6e 6c 69 6e 65 20 |isplayed| inline |
|00004ae0| 6f 72 0a 74 72 65 61 74 | 65 64 20 61 73 20 61 6e |or.treat|ed as an|
|00004af0| 20 61 74 74 61 63 68 6d | 65 6e 74 2e 20 20 46 6f | attachm|ent. Fo|
|00004b00| 72 20 56 4d 2c 20 60 60 | 69 6e 6c 69 6e 65 27 27 |r VM, ``|inline''|
|00004b10| 20 64 69 73 70 6c 61 79 | 20 6d 65 61 6e 73 0a 64 | display| means.d|
|00004b20| 69 73 70 6c 61 79 69 6e | 67 20 74 68 65 20 6f 62 |isplayin|g the ob|
|00004b30| 6a 65 63 74 20 69 6e 20 | 74 68 65 20 45 6d 61 63 |ject in |the Emac|
|00004b40| 73 20 62 75 66 66 65 72 | 2c 20 69 66 20 70 6f 73 |s buffer|, if pos|
|00004b50| 73 69 62 6c 65 2e 0a 41 | 74 74 61 63 68 6d 65 6e |sible..A|ttachmen|
|00004b60| 74 73 20 77 69 6c 6c 20 | 62 65 20 64 69 73 70 6c |ts will |be displ|
|00004b70| 61 79 65 64 20 61 73 20 | 61 20 62 75 74 74 6f 6e |ayed as |a button|
|00004b80| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 20 75 73 | that yo|u can us|
|00004b90| 65 0a 6d 6f 75 73 65 2d | 32 20 74 6f 20 61 63 74 |e.mouse-|2 to act|
|00004ba0| 69 76 61 74 65 20 6f 72 | 20 6d 6f 75 73 65 2d 33 |ivate or| mouse-3|
|00004bb0| 20 74 6f 20 70 75 6c 6c | 20 75 70 20 61 20 6d 65 | to pull| up a me|
|00004bc0| 6e 75 20 6f 66 20 6f 70 | 74 69 6f 6e 73 2e 22 29 |nu of op|tions.")|
|00004bd0| 0a 28 64 65 66 76 61 72 | 20 76 6d 2d 61 75 74 6f |.(defvar| vm-auto|
|00004be0| 2d 64 65 63 6f 64 65 2d | 6d 69 6d 65 2d 6d 65 73 |-decode-|mime-mes|
|00004bf0| 73 61 67 65 73 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |sages ni|l "\.*No|
|00004c00| 6e 2d 6e 69 6c 20 76 61 | 6c 75 65 20 63 61 75 73 |n-nil va|lue caus|
|00004c10| 65 73 20 4d 49 4d 45 20 | 64 65 63 6f 64 69 6e 67 |es MIME |decoding|
|00004c20| 20 74 6f 20 6f 63 63 75 | 72 20 61 75 74 6f 6d 61 | to occu|r automa|
|00004c30| 74 69 63 61 6c 6c 79 0a | 77 68 65 6e 20 61 20 6d |tically.|when a m|
|00004c40| 65 73 73 61 67 65 20 63 | 6f 6e 74 61 69 6e 69 6e |essage c|ontainin|
|00004c50| 67 20 4d 49 4d 45 20 6f | 62 6a 65 63 74 73 20 69 |g MIME o|bjects i|
|00004c60| 73 20 65 78 70 6f 73 65 | 64 2e 20 20 41 20 6e 69 |s expose|d. A ni|
|00004c70| 6c 20 76 61 6c 75 65 0a | 6d 65 61 6e 73 20 74 68 |l value.|means th|
|00004c80| 61 74 20 79 6f 75 20 77 | 69 6c 6c 20 68 61 76 65 |at you w|ill have|
|00004c90| 20 74 6f 20 72 75 6e 20 | 74 68 65 20 60 76 6d 2d | to run |the `vm-|
|00004ca0| 64 65 63 6f 64 65 2d 6d | 69 6d 65 2d 6d 65 73 73 |decode-m|ime-mess|
|00004cb0| 61 67 65 27 0a 63 6f 6d | 6d 61 6e 64 20 28 6e 6f |age'.com|mand (no|
|00004cc0| 72 6d 61 6c 6c 79 20 62 | 6f 75 6e 64 20 74 6f 20 |rmally b|ound to |
|00004cd0| 60 44 27 29 20 6d 61 6e | 75 61 6c 6c 79 20 74 6f |`D') man|ually to|
|00004ce0| 20 64 65 63 6f 64 65 20 | 61 6e 64 20 64 69 73 70 | decode |and disp|
|00004cf0| 6c 61 79 0a 4d 49 4d 45 | 20 6f 62 6a 65 63 74 73 |lay.MIME| objects|
|00004d00| 2e 22 29 0a 28 64 65 66 | 76 61 72 20 76 6d 2d 61 |.").(def|var vm-a|
|00004d10| 75 74 6f 2d 64 69 73 70 | 6c 61 79 65 64 2d 6d 69 |uto-disp|layed-mi|
|00004d20| 6d 65 2d 63 6f 6e 74 65 | 6e 74 2d 74 79 70 65 73 |me-conte|nt-types|
|00004d30| 20 27 28 22 74 65 78 74 | 22 20 22 6d 75 6c 74 69 | '("text|" "multi|
|00004d40| 70 61 72 74 22 29 20 22 | 5c 0a 2a 4c 69 73 74 20 |part") "|\.*List |
|00004d50| 6f 66 20 4d 49 4d 45 20 | 63 6f 6e 74 65 6e 74 20 |of MIME |content |
|00004d60| 74 79 70 65 73 20 74 68 | 61 74 20 73 68 6f 75 6c |types th|at shoul|
|00004d70| 64 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 20 69 |d be dis|played i|
|00004d80| 6d 6d 65 64 69 61 74 65 | 6c 79 0a 61 66 74 65 72 |mmediate|ly.after|
|00004d90| 20 64 65 63 6f 64 69 6e | 67 2e 20 20 4f 74 68 65 | decodin|g. Othe|
|00004da0| 72 20 74 79 70 65 73 20 | 77 69 6c 6c 20 62 65 20 |r types |will be |
|00004db0| 64 69 73 70 6c 61 79 65 | 64 20 61 73 20 61 20 62 |displaye|d as a b|
|00004dc0| 75 74 74 6f 6e 20 74 68 | 61 74 0a 74 68 65 20 75 |utton th|at.the u|
|00004dd0| 73 65 72 20 6d 75 73 74 | 20 61 63 74 69 76 61 74 |ser must| activat|
|00004de0| 65 20 74 6f 20 64 69 73 | 70 6c 61 79 20 74 68 65 |e to dis|play the|
|00004df0| 20 6f 62 6a 65 63 74 2e | 0a 0a 41 20 76 61 6c 75 | object.|..A valu|
|00004e00| 65 20 6f 66 20 74 20 6d | 65 61 6e 73 20 74 68 61 |e of t m|eans tha|
|00004e10| 74 20 61 6c 6c 20 74 79 | 70 65 73 20 73 68 6f 75 |t all ty|pes shou|
|00004e20| 6c 64 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |ld be di|splayed |
|00004e30| 69 6d 6d 65 64 69 61 74 | 65 6c 79 2e 0a 41 20 6e |immediat|ely..A n|
|00004e40| 69 6c 20 76 61 6c 75 65 | 20 6d 65 61 6e 73 20 6e |il value| means n|
|00004e50| 65 76 65 72 20 64 69 73 | 70 6c 61 79 20 4d 49 4d |ever dis|play MIM|
|00004e60| 45 20 6f 62 6a 65 63 74 | 73 20 69 6d 6d 65 64 69 |E object|s immedi|
|00004e70| 61 74 65 6c 79 3b 20 6f | 6e 6c 79 20 75 73 65 20 |ately; o|nly use |
|00004e80| 62 75 74 74 6f 6e 73 2e | 0a 0a 49 66 20 74 68 65 |buttons.|..If the|
|00004e90| 20 76 61 6c 75 65 20 69 | 73 20 61 20 6c 69 73 74 | value i|s a list|
|00004ea0| 2c 20 69 74 20 73 68 6f | 75 6c 64 20 62 65 20 61 |, it sho|uld be a|
|00004eb0| 20 6c 69 73 74 20 6f 66 | 20 73 74 72 69 6e 67 73 | list of| strings|
|00004ec0| 2c 20 77 68 69 63 68 0a | 73 68 6f 75 6c 64 20 61 |, which.|should a|
|00004ed0| 6c 6c 20 62 65 20 74 79 | 70 65 73 20 6f 72 20 74 |ll be ty|pes or t|
|00004ee0| 79 70 65 2f 73 75 62 74 | 79 70 65 20 70 61 69 72 |ype/subt|ype pair|
|00004ef0| 73 2e 20 20 45 78 61 6d | 70 6c 65 3a 0a 0a 20 28 |s. Exam|ple:.. (|
|00004f00| 73 65 74 71 20 76 6d 2d | 61 75 74 6f 2d 64 69 73 |setq vm-|auto-dis|
|00004f10| 70 6c 61 79 65 64 2d 6d | 69 6d 65 2d 63 6f 6e 74 |played-m|ime-cont|
|00004f20| 65 6e 74 2d 74 79 70 65 | 73 20 27 28 5c 22 74 65 |ent-type|s '(\"te|
|00004f30| 78 74 5c 22 20 5c 22 69 | 6d 61 67 65 2f 6a 70 65 |xt\" \"i|mage/jpe|
|00004f40| 67 5c 22 29 29 0a 0a 49 | 66 20 61 20 74 6f 70 2d |g\"))..I|f a top-|
|00004f50| 6c 65 76 65 6c 20 74 79 | 70 65 20 69 73 20 6c 69 |level ty|pe is li|
|00004f60| 73 74 65 64 20 77 69 74 | 68 6f 75 74 20 61 20 73 |sted wit|hout a s|
|00004f70| 75 62 74 79 70 65 2c 20 | 61 6c 6c 20 73 75 62 74 |ubtype, |all subt|
|00004f80| 79 70 65 73 20 6f 66 0a | 74 68 61 74 20 74 79 70 |ypes of.|that typ|
|00004f90| 65 20 61 72 65 20 61 73 | 73 75 6d 65 64 20 74 6f |e are as|sumed to|
|00004fa0| 20 62 65 20 69 6e 63 6c | 75 64 65 64 2e 0a 0a 4e | be incl|uded...N|
|00004fb0| 6f 74 65 20 74 68 61 74 | 20 73 6f 6d 65 20 74 79 |ote that| some ty|
|00004fc0| 70 65 73 20 61 72 65 20 | 70 72 6f 63 65 73 73 65 |pes are |processe|
|00004fd0| 64 20 73 70 65 63 69 61 | 6c 6c 79 2c 20 61 6e 64 |d specia|lly, and|
|00004fe0| 20 74 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 64 | this va|riable d|
|00004ff0| 6f 65 73 20 6e 6f 74 0a | 61 70 70 6c 79 20 74 6f |oes not.|apply to|
|00005000| 20 74 68 65 6d 2e 0a 0a | 20 20 20 6d 75 6c 74 69 | them...| multi|
|00005010| 70 61 72 74 2f 64 69 67 | 65 73 74 20 6d 65 73 73 |part/dig|est mess|
|00005020| 61 67 65 73 20 61 72 65 | 20 61 6c 77 61 79 73 20 |ages are| always |
|00005030| 64 69 73 70 6c 61 79 65 | 64 20 61 73 20 61 20 62 |displaye|d as a b|
|00005040| 75 74 74 6f 6e 20 74 6f | 0a 20 20 20 61 76 6f 69 |utton to|. avoi|
|00005050| 64 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |d automa|tically |
|00005060| 76 69 73 69 74 69 6e 67 | 20 61 20 6e 65 77 20 66 |visiting| a new f|
|00005070| 6f 6c 64 65 72 20 77 68 | 69 6c 65 20 79 6f 75 20 |older wh|ile you |
|00005080| 61 72 65 20 6d 6f 76 69 | 6e 67 0a 20 20 20 61 72 |are movi|ng. ar|
|00005090| 6f 75 6e 64 20 69 6e 20 | 74 68 65 20 63 75 72 72 |ound in |the curr|
|000050a0| 65 6e 74 20 66 6f 6c 64 | 65 72 2e 0a 0a 20 20 20 |ent fold|er... |
|000050b0| 6d 65 73 73 61 67 65 2f | 70 61 72 74 69 61 6c 20 |message/|partial |
|000050c0| 6d 65 73 73 61 67 65 73 | 20 61 72 65 20 61 6c 77 |messages| are alw|
|000050d0| 61 79 73 20 64 69 73 70 | 6c 61 79 65 64 20 61 73 |ays disp|layed as|
|000050e0| 20 61 20 62 75 74 74 6f | 6e 2c 0a 20 20 20 62 65 | a butto|n,. be|
|000050f0| 63 61 75 73 65 20 74 68 | 65 72 65 20 61 6c 77 61 |cause th|ere alwa|
|00005100| 79 73 20 6e 65 65 64 73 | 20 74 6f 20 62 65 20 61 |ys needs| to be a|
|00005110| 20 77 61 79 20 74 6f 20 | 74 72 69 67 67 65 72 20 | way to |trigger |
|00005120| 74 68 65 20 61 73 73 65 | 6d 62 6c 79 0a 20 20 20 |the asse|mbly. |
|00005130| 6f 66 20 74 68 65 20 70 | 61 72 74 73 20 69 6e 74 |of the p|arts int|
|00005140| 6f 20 61 20 66 75 6c 6c | 20 6d 65 73 73 61 67 65 |o a full| message|
|00005150| 2e 0a 0a 41 6e 79 20 74 | 79 70 65 20 74 68 61 74 |...Any t|ype that|
|00005160| 20 63 61 6e 6e 6f 74 20 | 62 65 20 64 69 73 70 6c | cannot |be displ|
|00005170| 61 79 65 64 20 69 6e 74 | 65 72 6e 61 6c 6c 79 20 |ayed int|ernally |
|00005180| 6f 72 20 65 78 74 65 72 | 6e 61 6c 6c 79 20 77 69 |or exter|nally wi|
|00005190| 6c 6c 0a 62 65 20 64 69 | 73 70 6c 61 79 65 64 20 |ll.be di|splayed |
|000051a0| 61 73 20 61 20 62 75 74 | 74 6f 6e 20 74 68 61 74 |as a but|ton that|
|000051b0| 20 61 6c 6c 6f 77 73 20 | 79 6f 75 20 74 6f 20 73 | allows |you to s|
|000051c0| 61 76 65 20 74 68 65 20 | 62 6f 64 79 20 74 6f 20 |ave the |body to |
|000051d0| 61 0a 66 69 6c 65 2e 22 | 29 0a 28 64 65 66 76 61 |a.file."|).(defva|
|000051e0| 72 20 76 6d 2d 6d 69 6d | 65 2d 69 6e 74 65 72 6e |r vm-mim|e-intern|
|000051f0| 61 6c 2d 63 6f 6e 74 65 | 6e 74 2d 74 79 70 65 73 |al-conte|nt-types|
|00005200| 20 74 20 22 5c 0a 2a 4c | 69 73 74 20 6f 66 20 4d | t "\.*L|ist of M|
|00005210| 49 4d 45 20 63 6f 6e 74 | 65 6e 74 20 74 79 70 65 |IME cont|ent type|
|00005220| 73 20 74 68 61 74 20 73 | 68 6f 75 6c 64 20 62 65 |s that s|hould be|
|00005230| 20 64 69 73 70 6c 61 79 | 65 64 20 69 6e 74 65 72 | display|ed inter|
|00005240| 6e 61 6c 6c 79 0a 69 66 | 20 45 6d 61 63 73 20 69 |nally.if| Emacs i|
|00005250| 73 20 63 61 70 61 62 6c | 65 20 6f 66 20 64 6f 69 |s capabl|e of doi|
|00005260| 6e 67 20 73 6f 2e 20 20 | 41 20 76 61 6c 75 65 20 |ng so. |A value |
|00005270| 6f 66 20 74 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |of t mea|ns that |
|00005280| 56 4d 0a 73 68 6f 75 6c | 64 20 61 6c 77 61 79 73 |VM.shoul|d always|
|00005290| 20 64 69 73 70 6c 61 79 | 20 61 6e 20 6f 62 6a 65 | display| an obje|
|000052a0| 63 74 20 69 6e 74 65 72 | 6e 61 6c 6c 79 20 69 66 |ct inter|nally if|
|000052b0| 20 70 6f 73 73 69 62 6c | 65 2e 20 20 41 20 6e 69 | possibl|e. A ni|
|000052c0| 6c 0a 76 61 6c 75 65 20 | 6d 65 61 6e 73 20 6e 65 |l.value |means ne|
|000052d0| 76 65 72 20 64 69 73 70 | 6c 61 79 20 4d 49 4d 45 |ver disp|lay MIME|
|000052e0| 20 6f 62 6a 65 63 74 73 | 20 69 6e 74 65 72 6e 61 | objects| interna|
|000052f0| 6c 6c 79 2c 20 77 68 69 | 63 68 20 6d 65 61 6e 73 |lly, whi|ch means|
|00005300| 20 56 4d 0a 68 61 76 65 | 20 74 6f 20 72 75 6e 20 | VM.have| to run |
|00005310| 61 6e 20 65 78 74 65 72 | 6e 61 6c 20 76 69 65 77 |an exter|nal view|
|00005320| 65 72 20 74 6f 20 64 69 | 73 70 6c 61 79 20 4d 49 |er to di|splay MI|
|00005330| 4d 45 20 6f 62 6a 65 63 | 74 73 2e 0a 0a 49 66 20 |ME objec|ts...If |
|00005340| 74 68 65 20 76 61 6c 75 | 65 20 69 73 20 61 20 6c |the valu|e is a l|
|00005350| 69 73 74 2c 20 69 74 20 | 73 68 6f 75 6c 64 20 62 |ist, it |should b|
|00005360| 65 20 61 20 6c 69 73 74 | 20 6f 66 20 73 74 72 69 |e a list| of stri|
|00005370| 6e 67 73 2e 20 20 45 78 | 61 6d 70 6c 65 3a 0a 0a |ngs. Ex|ample:..|
|00005380| 20 28 73 65 74 71 20 76 | 6d 2d 6d 69 6d 65 2d 69 | (setq v|m-mime-i|
|00005390| 6e 74 65 72 6e 61 6c 2d | 63 6f 6e 74 65 6e 74 2d |nternal-|content-|
|000053a0| 74 79 70 65 73 20 27 28 | 5c 22 74 65 78 74 5c 22 |types '(|\"text\"|
|000053b0| 20 5c 22 69 6d 61 67 65 | 2f 6a 70 65 67 5c 22 29 | \"image|/jpeg\")|
|000053c0| 29 0a 0a 49 66 20 61 20 | 74 6f 70 2d 6c 65 76 65 |)..If a |top-leve|
|000053d0| 6c 20 74 79 70 65 20 69 | 73 20 6c 69 73 74 65 64 |l type i|s listed|
|000053e0| 20 77 69 74 68 6f 75 74 | 20 61 20 73 75 62 74 79 | without| a subty|
|000053f0| 70 65 2c 20 61 6c 6c 20 | 73 75 62 74 79 70 65 73 |pe, all |subtypes|
|00005400| 20 6f 66 0a 74 68 61 74 | 20 74 79 70 65 20 61 72 | of.that| type ar|
|00005410| 65 20 61 73 73 75 6d 65 | 64 20 74 6f 20 62 65 20 |e assume|d to be |
|00005420| 69 6e 63 6c 75 64 65 64 | 2e 0a 0a 4e 6f 74 65 20 |included|...Note |
|00005430| 74 68 61 74 20 61 6c 6c | 20 6d 75 6c 74 69 70 61 |that all| multipa|
|00005440| 72 74 20 74 79 70 65 73 | 20 61 72 65 20 61 6c 77 |rt types| are alw|
|00005450| 61 79 73 20 68 61 6e 64 | 6c 65 64 20 69 6e 74 65 |ays hand|led inte|
|00005460| 72 6e 61 6c 6c 79 2e 0a | 54 68 65 72 65 20 69 73 |rnally..|There is|
|00005470| 20 6e 6f 20 6e 65 65 64 | 20 74 6f 20 6c 69 73 74 | no need| to list|
|00005480| 20 74 68 65 6d 20 68 65 | 72 65 2e 22 29 0a 28 64 | them he|re.").(d|
|00005490| 65 66 76 61 72 20 76 6d | 2d 6d 69 6d 65 2d 65 78 |efvar vm|-mime-ex|
|000054a0| 74 65 72 6e 61 6c 2d 63 | 6f 6e 74 65 6e 74 2d 74 |ternal-c|ontent-t|
|000054b0| 79 70 65 73 2d 61 6c 69 | 73 74 20 6e 69 6c 20 22 |ypes-ali|st nil "|
|000054c0| 5c 0a 2a 41 6c 69 73 74 | 20 6f 66 20 4d 49 4d 45 |\.*Alist| of MIME|
|000054d0| 20 63 6f 6e 74 65 6e 74 | 20 74 79 70 65 73 20 61 | content| types a|
|000054e0| 6e 64 20 74 68 65 20 65 | 78 74 65 72 6e 61 6c 20 |nd the e|xternal |
|000054f0| 70 72 6f 67 72 61 6d 73 | 20 75 73 65 64 20 74 6f |programs| used to|
|00005500| 20 64 69 73 70 6c 61 79 | 20 74 68 65 6d 2e 0a 49 | display| them..I|
|00005510| 66 20 56 4d 20 63 61 6e | 6e 6f 74 20 64 69 73 70 |f VM can|not disp|
|00005520| 6c 61 79 20 61 20 74 79 | 70 65 20 69 6e 74 65 72 |lay a ty|pe inter|
|00005530| 6e 61 6c 6c 79 20 6f 72 | 20 68 61 73 20 62 65 65 |nally or| has bee|
|00005540| 6e 20 69 6e 73 74 72 75 | 63 74 65 64 20 6e 6f 74 |n instru|cted not|
|00005550| 0a 74 6f 20 28 73 65 65 | 20 74 68 65 20 64 6f 63 |.to (see| the doc|
|00005560| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|00005570| 68 65 20 76 6d 2d 6d 69 | 6d 65 2d 69 6e 74 65 72 |he vm-mi|me-inter|
|00005580| 6e 61 6c 2d 63 6f 6e 74 | 65 6e 74 2d 74 79 70 65 |nal-cont|ent-type|
|00005590| 73 0a 76 61 72 69 61 62 | 6c 65 29 20 69 74 20 77 |s.variab|le) it w|
|000055a0| 69 6c 6c 20 74 72 79 20 | 74 6f 20 6c 61 75 6e 63 |ill try |to launc|
|000055b0| 68 20 61 6e 20 65 78 74 | 65 72 6e 61 6c 20 70 72 |h an ext|ernal pr|
|000055c0| 6f 67 72 61 6d 20 74 6f | 20 64 69 73 70 6c 61 79 |ogram to| display|
|000055d0| 20 74 68 61 74 0a 74 79 | 70 65 2e 0a 0a 54 68 65 | that.ty|pe...The|
|000055e0| 20 61 6c 69 73 74 20 66 | 6f 72 6d 61 74 20 69 73 | alist f|ormat is|
|000055f0| 0a 0a 20 28 20 28 54 59 | 50 45 20 50 52 4f 47 52 |.. ( (TY|PE PROGR|
|00005600| 41 4d 20 41 52 47 20 41 | 52 47 20 2e 2e 2e 20 29 |AM ARG A|RG ... )|
|00005610| 20 2e 2e 2e 20 29 0a 0a | 54 59 50 45 20 69 73 20 | ... )..|TYPE is |
|00005620| 61 20 73 74 72 69 6e 67 | 20 73 70 65 63 69 66 79 |a string| specify|
|00005630| 69 6e 67 20 61 20 4d 49 | 4d 45 20 74 79 70 65 20 |ing a MI|ME type |
|00005640| 6f 72 20 74 79 70 65 2f | 73 75 62 74 79 70 65 20 |or type/|subtype |
|00005650| 70 61 69 72 2e 0a 45 78 | 61 6d 70 6c 65 20 5c 22 |pair..Ex|ample \"|
|00005660| 74 65 78 74 5c 22 20 6f | 72 20 5c 22 69 6d 61 67 |text\" o|r \"imag|
|00005670| 65 2f 6a 70 65 67 5c 22 | 2e 20 20 49 66 20 61 20 |e/jpeg\"|. If a |
|00005680| 74 6f 70 2d 6c 65 76 65 | 6c 20 74 79 70 65 20 69 |top-leve|l type i|
|00005690| 73 0a 6c 69 73 74 65 64 | 20 77 69 74 68 6f 75 74 |s.listed| without|
|000056a0| 20 61 20 73 75 62 74 79 | 70 65 2c 20 61 6c 6c 20 | a subty|pe, all |
|000056b0| 73 75 62 74 79 70 65 73 | 20 6f 66 20 74 68 61 74 |subtypes| of that|
|000056c0| 20 74 79 70 65 20 61 72 | 65 20 61 73 73 75 6d 65 | type ar|e assume|
|000056d0| 64 0a 74 6f 20 62 65 20 | 69 6e 63 6c 75 64 65 64 |d.to be |included|
|000056e0| 2e 0a 0a 50 52 4f 47 52 | 41 4d 20 69 73 20 61 20 |...PROGR|AM is a |
|000056f0| 73 74 72 69 6e 67 20 6e | 61 6d 69 6e 67 20 61 20 |string n|aming a |
|00005700| 70 72 6f 67 72 61 6d 20 | 74 6f 20 72 75 6e 20 74 |program |to run t|
|00005710| 6f 20 64 69 73 70 6c 61 | 79 20 61 6e 20 6f 62 6a |o displa|y an obj|
|00005720| 65 63 74 2e 0a 41 6e 79 | 20 41 52 47 53 20 77 69 |ect..Any| ARGS wi|
|00005730| 6c 6c 20 62 65 20 70 61 | 73 73 65 64 20 74 6f 20 |ll be pa|ssed to |
|00005740| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 61 73 20 61 |the prog|ram as a|
|00005750| 72 67 75 6d 65 6e 74 73 | 2e 20 20 54 68 65 20 6f |rguments|. The o|
|00005760| 63 74 65 74 73 0a 74 68 | 61 74 20 63 6f 6d 70 6f |ctets.th|at compo|
|00005770| 73 65 20 74 68 65 20 6f | 62 6a 65 63 74 20 77 69 |se the o|bject wi|
|00005780| 6c 6c 20 62 65 20 77 72 | 69 74 74 65 6e 20 69 6e |ll be wr|itten in|
|00005790| 74 6f 20 61 20 66 69 6c | 65 20 61 6e 64 20 74 68 |to a fil|e and th|
|000057a0| 65 20 6e 61 6d 65 0a 6f | 66 20 74 68 65 20 66 69 |e name.o|f the fi|
|000057b0| 6c 65 20 77 69 6c 6c 20 | 62 65 20 70 61 73 73 65 |le will |be passe|
|000057c0| 64 20 74 6f 20 74 68 65 | 20 70 72 6f 67 72 61 6d |d to the| program|
|000057d0| 20 61 73 20 69 74 73 20 | 6c 61 73 74 20 61 72 67 | as its |last arg|
|000057e0| 75 6d 65 6e 74 2e 0a 0a | 45 78 61 6d 70 6c 65 3a |ument...|Example:|
|000057f0| 0a 0a 20 28 73 65 74 71 | 20 76 6d 2d 6d 69 6d 65 |.. (setq| vm-mime|
|00005800| 2d 65 78 74 65 72 6e 61 | 6c 2d 63 6f 6e 74 65 6e |-externa|l-conten|
|00005810| 74 2d 74 79 70 65 73 2d | 61 6c 69 73 74 0a 20 20 |t-types-|alist. |
|00005820| 20 20 20 20 20 27 28 0a | 09 20 28 5c 22 74 65 78 | '(.|. (\"tex|
|00005830| 74 2f 68 74 6d 6c 5c 22 | 20 09 5c 22 6e 65 74 73 |t/html\"| .\"nets|
|00005840| 63 61 70 65 5c 22 29 0a | 09 20 28 5c 22 69 6d 61 |cape\").|. (\"ima|
|00005850| 67 65 2f 67 69 66 5c 22 | 20 09 5c 22 78 76 5c 22 |ge/gif\"| .\"xv\"|
|00005860| 29 0a 09 20 28 5c 22 69 | 6d 61 67 65 2f 6a 70 65 |).. (\"i|mage/jpe|
|00005870| 67 5c 22 20 09 5c 22 78 | 76 5c 22 29 0a 09 20 28 |g\" .\"x|v\").. (|
|00005880| 5c 22 76 69 64 65 6f 2f | 6d 70 65 67 5c 22 20 09 |\"video/|mpeg\" .|
|00005890| 5c 22 6d 70 65 67 5f 70 | 6c 61 79 5c 22 29 0a 09 |\"mpeg_p|lay\")..|
|000058a0| 20 28 5c 22 76 69 64 65 | 6f 5c 22 20 09 09 5c 22 | (\"vide|o\" ..\"|
|000058b0| 78 61 6e 69 6d 5c 22 29 | 0a 09 29 0a 20 29 0a 0a |xanim\")|..). )..|
|000058c0| 54 68 65 20 66 69 72 73 | 74 20 6d 61 74 63 68 69 |The firs|t matchi|
|000058d0| 6e 67 20 6c 69 73 74 20 | 65 6c 65 6d 65 6e 74 20 |ng list |element |
|000058e0| 77 69 6c 6c 20 62 65 20 | 75 73 65 64 2e 0a 0a 4e |will be |used...N|
|000058f0| 6f 20 6d 75 6c 74 69 70 | 61 72 74 20 6d 65 73 73 |o multip|art mess|
|00005900| 61 67 65 20 77 69 6c 6c | 20 65 76 65 72 20 62 65 |age will| ever be|
|00005910| 20 73 65 6e 74 20 74 6f | 20 61 6e 20 65 78 74 65 | sent to| an exte|
|00005920| 72 6e 61 6c 20 76 69 65 | 77 65 72 2e 22 29 0a 28 |rnal vie|wer.").(|
|00005930| 64 65 66 76 61 72 20 76 | 6d 2d 6d 69 6d 65 2d 74 |defvar v|m-mime-t|
|00005940| 79 70 65 2d 63 6f 6e 76 | 65 72 74 65 72 2d 61 6c |ype-conv|erter-al|
|00005950| 69 73 74 20 6e 69 6c 20 | 22 5c 0a 2a 41 6c 69 73 |ist nil |"\.*Alis|
|00005960| 74 20 6f 66 20 4d 49 4d | 45 20 74 79 70 65 73 20 |t of MIM|E types |
|00005970| 61 6e 64 20 70 72 6f 67 | 72 61 6d 73 20 74 68 61 |and prog|rams tha|
|00005980| 74 20 63 61 6e 20 63 6f | 6e 76 65 72 74 20 62 65 |t can co|nvert be|
|00005990| 74 77 65 65 6e 20 74 68 | 65 6d 2e 0a 49 66 20 56 |tween th|em..If V|
|000059a0| 4d 20 63 61 6e 6e 6f 74 | 20 64 69 73 70 6c 61 79 |M cannot| display|
|000059b0| 20 61 20 63 6f 6e 74 65 | 6e 74 20 74 79 70 65 2c | a conte|nt type,|
|000059c0| 20 69 74 20 77 69 6c 6c | 20 73 63 61 6e 20 74 68 | it will| scan th|
|000059d0| 69 73 20 6c 69 73 74 20 | 74 6f 0a 73 65 65 20 69 |is list |to.see i|
|000059e0| 66 20 74 68 65 20 74 79 | 70 65 20 63 61 6e 20 62 |f the ty|pe can b|
|000059f0| 65 20 63 6f 6e 76 65 72 | 74 65 64 20 69 6e 74 6f |e conver|ted into|
|00005a00| 20 61 20 74 79 70 65 20 | 74 68 61 74 20 69 74 20 | a type |that it |
|00005a10| 63 61 6e 20 64 69 73 70 | 6c 61 79 2e 0a 0a 54 68 |can disp|lay...Th|
|00005a20| 65 20 61 6c 69 73 74 20 | 66 6f 72 6d 61 74 20 69 |e alist |format i|
|00005a30| 73 0a 0a 20 28 20 28 53 | 54 41 52 54 2d 54 59 50 |s.. ( (S|TART-TYP|
|00005a40| 45 20 45 4e 44 2d 54 59 | 50 45 20 43 4f 4d 4d 41 |E END-TY|PE COMMA|
|00005a50| 4e 44 2d 4c 49 4e 45 20 | 29 20 2e 2e 2e 20 29 0a |ND-LINE |) ... ).|
|00005a60| 0a 53 54 41 52 54 2d 54 | 59 50 45 20 69 73 20 61 |.START-T|YPE is a|
|00005a70| 20 73 74 72 69 6e 67 20 | 73 70 65 63 69 66 79 69 | string |specifyi|
|00005a80| 6e 67 20 61 20 4d 49 4d | 45 20 74 79 70 65 20 6f |ng a MIM|E type o|
|00005a90| 72 20 74 79 70 65 2f 73 | 75 62 74 79 70 65 20 70 |r type/s|ubtype p|
|00005aa0| 61 69 72 2e 0a 45 78 61 | 6d 70 6c 65 20 5c 22 74 |air..Exa|mple \"t|
|00005ab0| 65 78 74 5c 22 20 6f 72 | 20 5c 22 69 6d 61 67 65 |ext\" or| \"image|
|00005ac0| 2f 6a 70 65 67 5c 22 2e | 20 20 49 66 20 61 20 74 |/jpeg\".| If a t|
|00005ad0| 6f 70 2d 6c 65 76 65 6c | 20 74 79 70 65 20 69 73 |op-level| type is|
|00005ae0| 0a 6c 69 73 74 65 64 20 | 77 69 74 68 6f 75 74 20 |.listed |without |
|00005af0| 61 20 73 75 62 74 79 70 | 65 2c 20 61 6c 6c 20 73 |a subtyp|e, all s|
|00005b00| 75 62 74 79 70 65 73 20 | 6f 66 20 74 68 61 74 20 |ubtypes |of that |
|00005b10| 74 79 70 65 20 61 72 65 | 20 61 73 73 75 6d 65 64 |type are| assumed|
|00005b20| 0a 74 6f 20 62 65 20 69 | 6e 63 6c 75 64 65 64 2e |.to be i|ncluded.|
|00005b30| 0a 0a 45 4e 44 2d 54 59 | 50 45 20 6d 75 73 74 20 |..END-TY|PE must |
|00005b40| 62 65 20 61 6e 20 65 78 | 61 63 74 20 74 79 70 65 |be an ex|act type|
|00005b50| 2f 73 75 62 74 79 70 65 | 20 70 61 69 72 2e 20 20 |/subtype| pair. |
|00005b60| 54 68 69 73 20 69 73 20 | 74 68 65 20 74 79 70 65 |This is |the type|
|00005b70| 0a 74 6f 20 77 68 69 63 | 68 20 53 54 41 52 54 2d |.to whic|h START-|
|00005b80| 54 59 50 45 20 77 69 6c | 6c 20 62 65 20 63 6f 6e |TYPE wil|l be con|
|00005b90| 76 65 72 74 65 64 2e 0a | 0a 43 4f 4d 4d 41 4e 44 |verted..|.COMMAND|
|00005ba0| 2d 4c 49 4e 45 20 69 73 | 20 61 20 73 74 72 69 6e |-LINE is| a strin|
|00005bb0| 67 20 67 69 76 69 6e 67 | 20 61 20 63 6f 6d 6d 61 |g giving| a comma|
|00005bc0| 6e 64 20 6c 69 6e 65 20 | 74 6f 20 62 65 20 70 61 |nd line |to be pa|
|00005bd0| 73 73 65 64 20 74 6f 0a | 74 68 65 20 73 68 65 6c |ssed to.|the shel|
|00005be0| 6c 2e 20 20 54 68 65 20 | 6f 63 74 65 74 73 20 74 |l. The |octets t|
|00005bf0| 68 61 74 20 63 6f 6d 70 | 6f 73 65 20 74 68 65 20 |hat comp|ose the |
|00005c00| 6f 62 6a 65 63 74 20 77 | 69 6c 6c 20 62 65 20 77 |object w|ill be w|
|00005c10| 72 69 74 74 65 6e 20 74 | 6f 0a 74 68 65 20 73 74 |ritten t|o.the st|
|00005c20| 61 6e 64 61 72 64 20 69 | 6e 70 75 74 20 6f 66 20 |andard i|nput of |
|00005c30| 74 68 65 20 73 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |the shel|l comman|
|00005c40| 64 2e 0a 0a 45 78 61 6d | 70 6c 65 3a 0a 0a 20 28 |d...Exam|ple:.. (|
|00005c50| 73 65 74 71 20 76 6d 2d | 6d 69 6d 65 2d 74 79 70 |setq vm-|mime-typ|
|00005c60| 65 2d 63 6f 6e 76 65 72 | 74 65 72 2d 61 6c 69 73 |e-conver|ter-alis|
|00005c70| 74 0a 20 20 20 20 20 20 | 20 27 28 0a 09 20 28 5c |t. | '(.. (\|
|00005c80| 22 69 6d 61 67 65 2f 6a | 70 65 67 5c 22 09 5c 22 |"image/j|peg\".\"|
|00005c90| 69 6d 61 67 65 2f 67 69 | 66 5c 22 09 5c 22 6a 70 |image/gi|f\".\"jp|
|00005ca0| 65 67 32 67 69 66 5c 22 | 29 0a 09 20 28 5c 22 74 |eg2gif\"|).. (\"t|
|00005cb0| 65 78 74 2f 68 74 6d 6c | 5c 22 09 09 5c 22 74 65 |ext/html|\"..\"te|
|00005cc0| 78 74 2f 70 6c 61 69 6e | 5c 22 09 5c 22 73 74 72 |xt/plain|\".\"str|
|00005cd0| 69 70 74 61 67 73 5c 22 | 29 0a 09 29 0a 20 29 0a |iptags\"|)..). ).|
|00005ce0| 0a 54 68 65 20 66 69 72 | 73 74 20 6d 61 74 63 68 |.The fir|st match|
|00005cf0| 69 6e 67 20 6c 69 73 74 | 20 65 6c 65 6d 65 6e 74 |ing list| element|
|00005d00| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 64 2e 22 29 | will be| used.")|
|00005d10| 0a 28 64 65 66 76 61 72 | 20 76 6d 2d 6d 69 6d 65 |.(defvar| vm-mime|
|00005d20| 2d 61 6c 74 65 72 6e 61 | 74 69 76 65 2d 73 65 6c |-alterna|tive-sel|
|00005d30| 65 63 74 2d 6d 65 74 68 | 6f 64 20 27 62 65 73 74 |ect-meth|od 'best|
|00005d40| 2d 69 6e 74 65 72 6e 61 | 6c 20 22 5c 0a 2a 56 61 |-interna|l "\.*Va|
|00005d50| 6c 75 65 20 74 65 6c 6c | 73 20 68 6f 77 20 74 6f |lue tell|s how to|
|00005d60| 20 63 68 6f 6f 73 65 20 | 77 68 69 63 68 20 6d 75 | choose |which mu|
|00005d70| 6c 74 69 70 61 72 74 2f | 61 6c 74 65 72 6e 61 74 |ltipart/|alternat|
|00005d80| 69 76 65 20 70 61 72 74 | 20 74 6f 20 64 69 73 70 |ive part| to disp|
|00005d90| 6c 61 79 2e 0a 41 20 4d | 49 4d 45 20 6d 65 73 73 |lay..A M|IME mess|
|00005da0| 61 67 65 20 6f 66 20 74 | 79 70 65 20 6d 75 6c 74 |age of t|ype mult|
|00005db0| 69 70 61 72 74 2f 61 6c | 74 65 72 6e 61 74 69 76 |ipart/al|ternativ|
|00005dc0| 65 20 68 61 73 20 6d 75 | 6c 74 69 70 6c 65 20 6d |e has mu|ltiple m|
|00005dd0| 65 73 73 61 67 65 0a 70 | 61 72 74 73 20 63 6f 6e |essage.p|arts con|
|00005de0| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 73 61 6d 65 |taining |the same|
|00005df0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 62 75 | informa|tion, bu|
|00005e00| 74 20 65 61 63 68 20 70 | 61 72 74 20 6d 61 79 20 |t each p|art may |
|00005e10| 62 65 0a 66 6f 72 6d 61 | 74 74 65 64 20 64 69 66 |be.forma|tted dif|
|00005e20| 66 65 72 65 6e 74 6c 79 | 2e 20 20 56 4d 20 77 69 |ferently|. VM wi|
|00005e30| 6c 6c 20 64 69 73 70 6c | 61 79 20 6f 6e 6c 79 20 |ll displ|ay only |
|00005e40| 6f 6e 65 20 6f 66 20 74 | 68 65 20 70 61 72 74 73 |one of t|he parts|
|00005e50| 2e 0a 54 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |..This v|ariable |
|00005e60| 74 65 6c 6c 73 20 56 4d | 20 68 6f 77 20 74 6f 20 |tells VM| how to |
|00005e70| 63 68 6f 6f 73 65 20 77 | 68 69 63 68 20 70 61 72 |choose w|hich par|
|00005e80| 74 20 74 6f 20 64 69 73 | 70 6c 61 79 2e 0a 0a 41 |t to dis|play...A|
|00005e90| 20 76 61 6c 75 65 20 6f | 66 20 27 62 65 73 74 20 | value o|f 'best |
|00005ea0| 6d 65 61 6e 73 20 63 68 | 6f 6f 73 65 20 74 68 65 |means ch|oose the|
|00005eb0| 20 70 61 72 74 20 74 68 | 61 74 20 69 73 20 74 68 | part th|at is th|
|00005ec0| 65 20 6d 6f 73 74 20 66 | 61 69 74 68 66 75 6c 20 |e most f|aithful |
|00005ed0| 74 6f 0a 74 68 65 20 73 | 65 6e 64 65 72 27 73 20 |to.the s|ender's |
|00005ee0| 6f 72 69 67 69 6e 61 6c | 20 63 6f 6e 74 65 6e 74 |original| content|
|00005ef0| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 64 69 73 | that ca|n be dis|
|00005f00| 70 6c 61 79 65 64 2e 0a | 0a 41 20 76 61 6c 75 65 |played..|.A value|
|00005f10| 20 6f 66 20 27 62 65 73 | 74 2d 69 6e 74 65 72 6e | of 'bes|t-intern|
|00005f20| 61 6c 20 6d 65 61 6e 73 | 20 63 68 6f 6f 73 65 20 |al means| choose |
|00005f30| 74 68 65 20 62 65 73 74 | 20 70 61 72 74 20 74 68 |the best| part th|
|00005f40| 61 74 20 63 61 6e 20 62 | 65 0a 64 69 73 70 6c 61 |at can b|e.displa|
|00005f50| 79 65 64 20 69 6e 74 65 | 72 6e 61 6c 6c 79 2c 20 |yed inte|rnally, |
|00005f60| 69 2e 65 2e 20 77 69 74 | 68 20 74 68 65 20 62 75 |i.e. wit|h the bu|
|00005f70| 69 6c 74 2d 69 6e 20 63 | 61 70 61 62 69 6c 69 74 |ilt-in c|apabilit|
|00005f80| 69 65 73 20 6f 66 20 45 | 6d 61 63 73 2e 0a 49 66 |ies of E|macs..If|
|00005f90| 20 6e 6f 6e 65 20 6f 66 | 20 74 68 65 20 70 61 72 | none of| the par|
|00005fa0| 74 73 20 63 61 6e 20 62 | 65 20 64 69 73 70 6c 61 |ts can b|e displa|
|00005fb0| 79 65 64 20 69 6e 74 65 | 72 6e 61 6c 6c 79 2c 20 |yed inte|rnally, |
|00005fc0| 62 65 68 61 76 69 6f 72 | 20 72 65 76 65 72 74 73 |behavior| reverts|
|00005fd0| 20 74 6f 0a 74 68 61 74 | 20 6f 66 20 27 62 65 73 | to.that| of 'bes|
|00005fe0| 74 2e 22 29 0a 28 64 65 | 66 76 61 72 20 76 6d 2d |t.").(de|fvar vm-|
|00005ff0| 6d 69 6d 65 2d 64 65 66 | 61 75 6c 74 2d 66 61 63 |mime-def|ault-fac|
|00006000| 65 2d 63 68 61 72 73 65 | 74 73 20 27 28 22 75 73 |e-charse|ts '("us|
|00006010| 2d 61 73 63 69 69 22 20 | 22 69 73 6f 2d 38 38 35 |-ascii" |"iso-885|
|00006020| 39 2d 31 22 29 20 22 5c | 0a 2a 4c 69 73 74 20 6f |9-1") "\|.*List o|
|00006030| 66 20 63 68 61 72 61 63 | 74 65 72 20 73 65 74 73 |f charac|ter sets|
|00006040| 20 74 68 61 74 20 63 61 | 6e 20 75 73 65 20 74 68 | that ca|n use th|
|00006050| 65 20 60 64 65 66 61 75 | 6c 74 27 20 66 61 63 65 |e `defau|lt' face|
|00006060| 2e 0a 46 6f 72 20 6f 74 | 68 65 72 20 63 68 61 72 |..For ot|her char|
|00006070| 61 63 74 65 72 73 20 73 | 65 74 73 20 56 4d 20 77 |acters s|ets VM w|
|00006080| 69 6c 6c 20 68 61 76 65 | 20 74 6f 20 63 72 65 61 |ill have| to crea|
|00006090| 74 65 20 61 20 6e 65 77 | 20 66 61 63 65 20 61 6e |te a new| face an|
|000060a0| 64 20 61 73 73 69 67 6e | 0a 61 20 66 6f 6e 74 20 |d assign|.a font |
|000060b0| 74 6f 20 69 74 20 74 68 | 61 74 20 63 61 6e 20 62 |to it th|at can b|
|000060c0| 65 20 75 73 65 64 20 74 | 6f 20 64 69 73 70 6c 61 |e used t|o displa|
|000060d0| 79 20 74 68 61 74 20 63 | 68 61 72 61 63 74 65 72 |y that c|haracter|
|000060e0| 20 73 65 74 2e 22 29 0a | 28 64 65 66 76 61 72 20 | set.").|(defvar |
|000060f0| 76 6d 2d 6d 69 6d 65 2d | 63 68 61 72 73 65 74 2d |vm-mime-|charset-|
|00006100| 66 6f 6e 74 2d 61 6c 69 | 73 74 20 6e 69 6c 20 22 |font-ali|st nil "|
|00006110| 5c 0a 2a 41 73 73 6f 63 | 20 6c 69 73 74 20 6f 66 |\.*Assoc| list of|
|00006120| 20 63 68 61 72 61 63 74 | 65 72 20 73 65 74 73 20 | charact|er sets |
|00006130| 61 6e 64 20 66 6f 6e 74 | 73 20 74 68 61 74 20 63 |and font|s that c|
|00006140| 61 6e 20 62 65 20 75 73 | 65 64 20 74 6f 20 64 69 |an be us|ed to di|
|00006150| 73 70 6c 61 79 20 74 68 | 65 6d 2e 0a 54 68 65 20 |splay th|em..The |
|00006160| 66 6f 72 6d 61 74 20 6f | 66 20 74 68 65 20 6c 69 |format o|f the li|
|00006170| 73 74 20 69 73 3a 0a 0a | 20 20 28 20 28 43 48 41 |st is:..| ( (CHA|
|00006180| 52 53 45 54 20 2e 20 46 | 4f 4e 54 29 20 2e 2e 2e |RSET . F|ONT) ...|
|00006190| 29 0a 0a 43 48 41 52 53 | 45 54 20 69 73 20 61 20 |)..CHARS|ET is a |
|000061a0| 73 74 72 69 6e 67 20 6e | 61 6d 69 6e 67 20 61 20 |string n|aming a |
|000061b0| 4d 49 4d 45 20 72 65 67 | 69 73 74 65 72 65 64 20 |MIME reg|istered |
|000061c0| 63 68 61 72 61 63 74 65 | 72 20 73 65 74 20 73 75 |characte|r set su|
|000061d0| 63 68 0a 61 73 20 5c 22 | 69 73 6f 2d 38 38 35 39 |ch.as \"|iso-8859|
|000061e0| 2d 35 5c 22 2e 20 20 43 | 68 61 72 61 63 74 65 72 |-5\". C|haracter|
|000061f0| 20 73 65 74 20 6e 61 6d | 65 73 20 73 68 6f 75 6c | set nam|es shoul|
|00006200| 64 20 62 65 20 73 70 65 | 63 69 66 69 65 64 20 69 |d be spe|cified i|
|00006210| 6e 0a 6c 6f 77 65 72 20 | 63 61 73 65 2e 0a 0a 46 |n.lower |case...F|
|00006220| 4f 4e 54 20 69 73 20 61 | 20 73 74 72 69 6e 67 20 |ONT is a| string |
|00006230| 6e 61 6d 69 6e 67 20 61 | 20 66 6f 6e 74 20 74 68 |naming a| font th|
|00006240| 61 74 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |at can b|e used t|
|00006250| 6f 20 64 69 73 70 6c 61 | 79 20 43 48 41 52 53 45 |o displa|y CHARSE|
|00006260| 54 2e 0a 0a 41 6e 20 65 | 78 61 6d 70 6c 65 20 73 |T...An e|xample s|
|00006270| 65 74 75 70 20 6d 69 67 | 68 74 20 62 65 3a 0a 0a |etup mig|ht be:..|
|00006280| 20 20 28 73 65 74 71 20 | 76 6d 2d 6d 69 6d 65 2d | (setq |vm-mime-|
|00006290| 63 68 61 72 73 65 74 2d | 66 6f 6e 74 2d 61 6c 69 |charset-|font-ali|
|000062a0| 73 74 0a 20 20 20 27 28 | 0a 20 20 20 20 20 28 5c |st. '(|. (\|
|000062b0| 22 69 73 6f 2d 38 38 35 | 39 2d 37 5c 22 20 2e 20 |"iso-885|9-7\" . |
|000062c0| 5c 22 2d 2a 2d 2a 2d 6d | 65 64 69 75 6d 2d 72 2d |\"-*-*-m|edium-r-|
|000062d0| 6e 6f 72 6d 61 6c 2d 2a | 2d 31 36 2d 31 36 30 2d |normal-*|-16-160-|
|000062e0| 37 32 2d 37 32 2d 63 2d | 38 30 2d 69 73 6f 38 38 |72-72-c-|80-iso88|
|000062f0| 35 39 2d 37 5c 22 29 0a | 20 20 20 20 29 0a 20 20 |59-7\").| ). |
|00006300| 29 0a 0a 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |)..This |variable|
|00006310| 20 69 73 20 6f 6e 6c 79 | 20 75 73 65 66 75 6c 20 | is only| useful |
|00006320| 66 6f 72 20 63 68 61 72 | 61 63 74 65 72 20 73 65 |for char|acter se|
|00006330| 74 73 20 77 68 6f 73 65 | 20 63 68 61 72 61 63 74 |ts whose| charact|
|00006340| 65 72 73 0a 63 61 6e 20 | 61 6c 6c 20 62 65 20 65 |ers.can |all be e|
|00006350| 6e 63 6f 64 65 64 20 69 | 6e 20 73 69 6e 67 6c 65 |ncoded i|n single|
|00006360| 20 38 2d 62 69 74 20 62 | 79 74 65 73 2e 20 20 41 | 8-bit b|ytes. A|
|00006370| 6c 73 6f 20 6d 75 6c 74 | 69 70 6c 65 20 66 6f 6e |lso mult|iple fon|
|00006380| 74 73 0a 63 61 6e 20 6f | 6e 6c 79 20 62 65 20 64 |ts.can o|nly be d|
|00006390| 69 73 70 6c 61 79 65 64 | 20 69 66 20 79 6f 75 27 |isplayed| if you'|
|000063a0| 72 65 20 72 75 6e 6e 69 | 6e 67 20 75 6e 64 65 72 |re runni|ng under|
|000063b0| 20 61 20 77 69 6e 64 6f | 77 20 73 79 73 74 65 6d | a windo|w system|
|000063c0| 0a 65 2e 67 2e 20 58 20 | 77 69 6e 64 6f 77 73 2e |.e.g. X |windows.|
|000063d0| 20 20 53 6f 20 74 68 69 | 73 20 76 61 72 69 61 62 | So thi|s variab|
|000063e0| 6c 65 20 77 69 6c 6c 20 | 68 61 76 65 20 6e 6f 20 |le will |have no |
|000063f0| 65 66 66 65 63 74 20 69 | 66 20 79 6f 75 27 72 65 |effect i|f you're|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.